Skip to content

Update http to https for mongoc.org links #1171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .evergreen/mongo-c-driver.spec
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Requires: cmake(mongocrypt)
This package contains the header files and development libraries
for %{name}.

Documentation: http://mongoc.org/libmongoc/%{version}/
Documentation: https://www.mongoc.org/libmongoc/%{version}/


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

Documentation: http://mongoc.org/libbson/%{version}/
Documentation: https://www.mongoc.org/libbson/%{version}/


%prep
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ If libmongoc is not needed, it is possible to build and install only libbson.
Documentation / Support / Feedback
==================================

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

Detailed installation instructions are in the manual:
http://mongoc.org/libmongoc/current/installing.html
https://www.mongoc.org/libmongoc/current/installing.html
4 changes: 2 additions & 2 deletions build/sphinx/mongoc_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def run(self):

header = nodes.paragraph('','')
p = nodes.paragraph('', '')
uri = 'http://mongoc.org/%s/%s/index.html' % (libname, versions[0])
uri = 'https://www.mongoc.org/%s/%s/index.html' % (libname, versions[0])
p += nodes.reference('', 'Latest Release (%s)' % versions[0], internal=False, refuri=uri)
header += p
p = nodes.paragraph('', '')
Expand All @@ -121,7 +121,7 @@ def run(self):
for v in versions:
item = nodes.list_item()
p = nodes.paragraph('', '')
uri = 'http://mongoc.org/%s/%s/index.html' % (libname, v)
uri = 'https://www.mongoc.org/%s/%s/index.html' % (libname, v)
p += nodes.reference('', v, internal=False, refuri=uri)
item += p
blist += item
Expand Down
2 changes: 1 addition & 1 deletion src/libbson/doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

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

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

Expand Down
2 changes: 1 addition & 1 deletion src/libbson/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A Cross Platform BSON Library for C
Introduction
------------

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/>`_.
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/>`_.

.. toctree::
:titlesonly:
Expand Down
4 changes: 2 additions & 2 deletions src/libmongoc/doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# don't fetch libbson's inventory from mongoc.org during build - Debian and
# Fedora package builds must work offline - maintain a recent copy here
intersphinx_mapping = {
'bson': ('http://mongoc.org/libbson/current', 'libbson-objects.inv'),
'bson': ('https://www.mongoc.org/libbson/current', 'libbson-objects.inv'),
}

# -- Options for HTML output ----------------------------------------------
Expand Down Expand Up @@ -76,7 +76,7 @@

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

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

Expand Down
2 changes: 1 addition & 1 deletion src/libmongoc/tests/test-mongoc-sample-commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -3806,7 +3806,7 @@ callback (mongoc_client_session_t *session,
bson_error_t *error);

/* See additional usage of mongoc_client_session_with_transaction at
* http://mongoc.org/libmongoc/1.15.3/mongoc_client_session_with_transaction.html
* https://www.mongoc.org/libmongoc/1.15.3/mongoc_client_session_with_transaction.html
*/
/* Start Transactions withTxn API Example 1 */
static bool
Expand Down