Skip to content

Commit f827e2f

Browse files
authored
Update http to https for mongoc.org links (#1171)
Co-authored-by: bisht42 <[email protected]>
1 parent 9b391f8 commit f827e2f

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.evergreen/mongo-c-driver.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Requires: cmake(mongocrypt)
8383
This package contains the header files and development libraries
8484
for %{name}.
8585

86-
Documentation: http://mongoc.org/libmongoc/%{version}/
86+
Documentation: https://www.mongoc.org/libmongoc/%{version}/
8787

8888

8989
%package -n libbson
@@ -109,7 +109,7 @@ Requires: cmake-filesystem
109109
This package contains libraries and header files needed for developing
110110
applications that use %{name}.
111111

112-
Documentation: http://mongoc.org/libbson/%{version}/
112+
Documentation: https://www.mongoc.org/libbson/%{version}/
113113

114114

115115
%prep

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If libmongoc is not needed, it is possible to build and install only libbson.
1515
Documentation / Support / Feedback
1616
==================================
1717

18-
The documentation is available at http://mongoc.org/.
18+
The documentation is available at https://www.mongoc.org/.
1919
For issues with, questions about, or feedback for libmongoc, please look into
2020
our `support channels <http://www.mongodb.org/about/support>`_. Please
2121
do not email any of the libmongoc developers directly with issues or
@@ -86,4 +86,4 @@ Installation
8686
============
8787

8888
Detailed installation instructions are in the manual:
89-
http://mongoc.org/libmongoc/current/installing.html
89+
https://www.mongoc.org/libmongoc/current/installing.html

build/sphinx/mongoc_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def run(self):
109109

110110
header = nodes.paragraph('','')
111111
p = nodes.paragraph('', '')
112-
uri = 'http://mongoc.org/%s/%s/index.html' % (libname, versions[0])
112+
uri = 'https://www.mongoc.org/%s/%s/index.html' % (libname, versions[0])
113113
p += nodes.reference('', 'Latest Release (%s)' % versions[0], internal=False, refuri=uri)
114114
header += p
115115
p = nodes.paragraph('', '')
@@ -121,7 +121,7 @@ def run(self):
121121
for v in versions:
122122
item = nodes.list_item()
123123
p = nodes.paragraph('', '')
124-
uri = 'http://mongoc.org/%s/%s/index.html' % (libname, v)
124+
uri = 'https://www.mongoc.org/%s/%s/index.html' % (libname, v)
125125
p += nodes.reference('', v, internal=False, refuri=uri)
126126
item += p
127127
blist += item

src/libbson/doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
def add_canonical_link(app, pagename, templatename, context, doctree):
4646
link = ('<link rel="canonical"'
47-
' href="http://mongoc.org/libbson/current/%s.html"/>' % pagename)
47+
' href="https://www.mongoc.org/libbson/current/%s.html"/>' % pagename)
4848

4949
context['metatags'] = context.get('metatags', '') + link
5050

src/libbson/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A Cross Platform BSON Library for C
66
Introduction
77
------------
88

9-
libbson builds, parses, and iterates `BSON <http://bsonspec.org>`_ documents, the native data format of MongoDB. It also converts BSON to and from JSON, and provides a platform compatibility layer for `the MongoDB C Driver <http://mongoc.org/>`_.
9+
libbson builds, parses, and iterates `BSON <http://bsonspec.org>`_ documents, the native data format of MongoDB. It also converts BSON to and from JSON, and provides a platform compatibility layer for `the MongoDB C Driver <https://www.mongoc.org/>`_.
1010

1111
.. toctree::
1212
:titlesonly:

src/libmongoc/doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# don't fetch libbson's inventory from mongoc.org during build - Debian and
3838
# Fedora package builds must work offline - maintain a recent copy here
3939
intersphinx_mapping = {
40-
'bson': ('http://mongoc.org/libbson/current', 'libbson-objects.inv'),
40+
'bson': ('https://www.mongoc.org/libbson/current', 'libbson-objects.inv'),
4141
}
4242

4343
# -- Options for HTML output ----------------------------------------------
@@ -76,7 +76,7 @@
7676

7777
def add_canonical_link(app, pagename, templatename, context, doctree):
7878
link = ('<link rel="canonical"'
79-
' href="http://mongoc.org/libbson/current/%s.html"/>' % pagename)
79+
' href="https://www.mongoc.org/libbson/current/%s.html"/>' % pagename)
8080

8181
context['metatags'] = context.get('metatags', '') + link
8282

src/libmongoc/tests/test-mongoc-sample-commands.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3806,7 +3806,7 @@ callback (mongoc_client_session_t *session,
38063806
bson_error_t *error);
38073807

38083808
/* See additional usage of mongoc_client_session_with_transaction at
3809-
* http://mongoc.org/libmongoc/1.15.3/mongoc_client_session_with_transaction.html
3809+
* https://www.mongoc.org/libmongoc/1.15.3/mongoc_client_session_with_transaction.html
38103810
*/
38113811
/* Start Transactions withTxn API Example 1 */
38123812
static bool

0 commit comments

Comments
 (0)