PYTHON-2112 Change api.mongodb.com to pymongo.readthedocs.io

This commit is contained in:
Shane Harvey 2020-04-14 13:40:29 -07:00
parent 923e83cd1a
commit 5efe0b10b3
4 changed files with 10 additions and 8 deletions

View File

@ -2,7 +2,7 @@ Contributing to PyMongo
=======================
PyMongo has a large `community
<http://api.mongodb.org/python/current/contributors.html>`_ and
<https://pymongo.readthedocs.io/en/stable/contributors.html>`_ and
contributions are always encouraged. Contributions can be as simple as
minor tweaks to the documentation. Please read these guidelines before
sending a pull request.
@ -41,7 +41,7 @@ General Guidelines
Documentation
-------------
To contribute to the `API documentation <http://api.mongodb.org/python/current/>`_
To contribute to the `API documentation <https://pymongo.readthedocs.io/en/stable/>`_
just make your changes to the inline documentation of the appropriate
`source code <https://github.com/mongodb/mongo-python-driver>`_ or `rst file
<https://github.com/mongodb/mongo-python-driver/tree/master/doc>`_ in a

View File

@ -204,8 +204,10 @@ Here's a basic example (for more see the *examples* section of the docs):
Documentation
=============
You will need sphinx_ installed to generate the
documentation. Documentation can be generated by running **python
Documentation is available at [pymongo.readthedocs.io](https://pymongo.readthedocs.io/en/stable/).
To build the documentation, you will need to install sphinx_.
Documentation can be generated by running **python
setup.py doc**. Generated documentation can be found in the
*doc/build/html/* directory.

View File

@ -155,7 +155,7 @@ class Topology(object):
warnings.warn(
"MongoClient opened before fork. Create MongoClient only "
"after forking. See PyMongo's documentation for details: "
"http://api.mongodb.org/python/current/faq.html#"
"https://pymongo.readthedocs.io/en/stable/faq.html#"
"is-pymongo-fork-safe")
with self._lock:
# Reset the session pool to avoid duplicate sessions in

View File

@ -247,7 +247,7 @@ although they do result in significant speed improvements.
Please see the installation docs for solutions to build issues:
http://api.mongodb.org/python/current/installation.html
https://pymongo.readthedocs.io/en/stable/installation.html
Here are some hints for popular operating systems:
@ -269,7 +269,7 @@ PyMongo using pip. Modern versions of pip will install PyMongo
from binary wheels available on pypi. If you must install from
source read the documentation here:
https://api.mongodb.com/python/current/installation.html#installing-from-source-on-windows
https://pymongo.readthedocs.io/en/stable/installation.html#installing-from-source-on-windows
If you are seeing this message on macOS / OSX please install PyMongo
using pip. Modern versions of pip will install PyMongo from binary
@ -277,7 +277,7 @@ wheels available on pypi. If wheels are not available for your version
of macOS / OSX, or you must install from source read the documentation
here:
http://api.mongodb.org/python/current/installation.html#osx
https://pymongo.readthedocs.io/en/stable/installation.html#osx
********************************************************************
"""