File tree Expand file tree Collapse file tree 8 files changed +19
-17
lines changed Expand file tree Collapse file tree 8 files changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -163,13 +163,10 @@ hatch run lint:build-manual
163163
164164## Documentation
165165
166- To contribute to the [ API
167- documentation] ( https://pymongo.readthedocs.io/en/stable/ ) just make your
168- changes to the inline documentation of the appropriate [ source
169- code] ( https://github.com/mongodb/mongo-python-driver ) or [ rst
170- file] ( https://github.com/mongodb/mongo-python-driver/tree/master/doc ) in
171- a branch and submit a [ pull
172- request] ( https://help.github.com/articles/using-pull-requests ) . You
166+ To contribute to the [ API documentation] ( https://pymongo.readthedocs.io/en/stable/ ) just make your
167+ changes to the inline documentation of the appropriate [ source code] ( https://github.com/mongodb/mongo-python-driver ) or
168+ [ rst file] ( https://github.com/mongodb/mongo-python-driver/tree/master/doc ) in
169+ a branch and submit a [ pull request] ( https://help.github.com/articles/using-pull-requests ) . You
173170might also use the GitHub
174171[ Edit] ( https://github.com/blog/844-forking-with-the-edit-button ) button.
175172
Original file line number Diff line number Diff line change 33[ ![ PyPI Version] ( https://img.shields.io/pypi/v/pymongo )] ( https://pypi.org/project/pymongo )
44[ ![ Python Versions] ( https://img.shields.io/pypi/pyversions/pymongo )] ( https://pypi.org/project/pymongo )
55[ ![ Monthly Downloads] ( https://static.pepy.tech/badge/pymongo/month )] ( https://pepy.tech/project/pymongo )
6- [ ![ Documentation Status] ( https://readthedocs.org/projects/pymongo/badge/?version=stable )] ( http://pymongo.readthedocs.io/en/stable/?badge=stable )
6+ [ ![ API Documentation Status] ( https://readthedocs.org/projects/pymongo/badge/?version=stable )] ( http://pymongo.readthedocs.io/en/stable/api ?badge=stable )
77
88## About
99
Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ static PyObject* datetime_from_millis(long long millis) {
306306 if (evalue ) {
307307 PyObject * err_msg = PyObject_Str (evalue );
308308 if (err_msg ) {
309- PyObject * appendage = PyUnicode_FromString (" (Consider Using CodecOptions(datetime_conversion=DATETIME_AUTO) or MongoClient(datetime_conversion='DATETIME_AUTO')). See: https://pymongo.readthedocs.io/en/stable/examples/datetimes.html #handling-out-of-range-datetimes" );
309+ PyObject * appendage = PyUnicode_FromString (" (Consider Using CodecOptions(datetime_conversion=DATETIME_AUTO) or MongoClient(datetime_conversion='DATETIME_AUTO')). See: https://www.mongodb.com/docs/languages/python/pymongo-driver/current/data-formats/dates-and-times/ #handling-out-of-range-datetimes" );
310310 if (appendage ) {
311311 PyObject * msg = PyUnicode_Concat (err_msg , appendage );
312312 if (msg ) {
Original file line number Diff line number Diff line change 3131_DATETIME_ERROR_SUGGESTION = (
3232 "(Consider Using CodecOptions(datetime_conversion=DATETIME_AUTO)"
3333 " or MongoClient(datetime_conversion='DATETIME_AUTO'))."
34- " See: https://pymongo.readthedocs.io/en/stable/examples/datetimes.html #handling-out-of-range-datetimes"
34+ " See: https://www.mongodb.com/docs/languages/python/pymongo-driver/current/data-formats/dates-and-times/ #handling-out-of-range-datetimes"
3535)
3636
3737
Original file line number Diff line number Diff line change 11PyMongo |release | Documentation
22===============================
33
4+ .. note :: The PyMongo documentation has been migrated to the
5+ `MongoDB Documentation site <https://www.mongodb.com/docs/languages/python/pymongo-driver/current >`_.
6+ As of PyMongo 4.10, the ReadTheDocs site will contain the detailed changelog and API docs, while the
7+ rest of the documentation will only appear on the MongoDB Documentation site.
8+
49Overview
510--------
611**PyMongo ** is a Python distribution containing tools for working with
@@ -95,8 +100,6 @@ pull request.
95100Changes
96101-------
97102See the :doc: `changelog ` for a full list of changes to PyMongo.
98- For older versions of the documentation please see the
99- `archive list <http://api.mongodb.org/python/ >`_.
100103
101104About This Documentation
102105------------------------
Original file line number Diff line number Diff line change @@ -227,8 +227,9 @@ async def open(self) -> None:
227227 warnings .warn ( # type: ignore[call-overload] # noqa: B028
228228 "AsyncMongoClient opened before fork. May not be entirely fork-safe, "
229229 "proceed with caution. See PyMongo's documentation for details: "
230- "https://pymongo.readthedocs.io/en/stable/faq.html#"
231- "is-pymongo-fork-safe" ,
230+ "https://www.mongodb.com/docs/languages/"
231+ "python/pymongo-driver/current/faq/"
232+ "#is-pymongo-fork-safe-" ,
232233 ** kwargs ,
233234 )
234235 async with self ._lock :
Original file line number Diff line number Diff line change @@ -227,8 +227,9 @@ def open(self) -> None:
227227 warnings .warn ( # type: ignore[call-overload] # noqa: B028
228228 "MongoClient opened before fork. May not be entirely fork-safe, "
229229 "proceed with caution. See PyMongo's documentation for details: "
230- "https://pymongo.readthedocs.io/en/stable/faq.html#"
231- "is-pymongo-fork-safe" ,
230+ "https://www.mongodb.com/docs/languages/"
231+ "python/pymongo-driver/current/faq/"
232+ "#is-pymongo-fork-safe-" ,
232233 ** kwargs ,
233234 )
234235 with self ._lock :
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ classifiers = [
4242
4343[project .urls ]
4444Homepage = " https://www.mongodb.org"
45- Documentation = " https://pymongo.readthedocs.io "
45+ Documentation = " https://www.mongodb.com/docs/languages/python/pymongo-driver/current/ "
4646Source = " https://github.com/mongodb/mongo-python-driver"
4747Tracker = " https://jira.mongodb.org/projects/PYTHON/issues"
4848
You can’t perform that action at this time.
0 commit comments