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
163
163
164
164
## Documentation
165
165
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
173
170
might also use the GitHub
174
171
[ Edit] ( https://github.com/blog/844-forking-with-the-edit-button ) button.
175
172
Original file line number Diff line number Diff line change 3
3
[ ![ PyPI Version] ( https://img.shields.io/pypi/v/pymongo )] ( https://pypi.org/project/pymongo )
4
4
[ ![ Python Versions] ( https://img.shields.io/pypi/pyversions/pymongo )] ( https://pypi.org/project/pymongo )
5
5
[ ![ 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 )
7
7
8
8
## About
9
9
Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ static PyObject* datetime_from_millis(long long millis) {
306
306
if (evalue ) {
307
307
PyObject * err_msg = PyObject_Str (evalue );
308
308
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" );
310
310
if (appendage ) {
311
311
PyObject * msg = PyUnicode_Concat (err_msg , appendage );
312
312
if (msg ) {
Original file line number Diff line number Diff line change 31
31
_DATETIME_ERROR_SUGGESTION = (
32
32
"(Consider Using CodecOptions(datetime_conversion=DATETIME_AUTO)"
33
33
" 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"
35
35
)
36
36
37
37
Original file line number Diff line number Diff line change 1
1
PyMongo |release | Documentation
2
2
===============================
3
3
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
+
4
9
Overview
5
10
--------
6
11
**PyMongo ** is a Python distribution containing tools for working with
@@ -95,8 +100,6 @@ pull request.
95
100
Changes
96
101
-------
97
102
See 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/ >`_.
100
103
101
104
About This Documentation
102
105
------------------------
Original file line number Diff line number Diff line change @@ -227,8 +227,9 @@ async def open(self) -> None:
227
227
warnings .warn ( # type: ignore[call-overload] # noqa: B028
228
228
"AsyncMongoClient opened before fork. May not be entirely fork-safe, "
229
229
"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-" ,
232
233
** kwargs ,
233
234
)
234
235
async with self ._lock :
Original file line number Diff line number Diff line change @@ -227,8 +227,9 @@ def open(self) -> None:
227
227
warnings .warn ( # type: ignore[call-overload] # noqa: B028
228
228
"MongoClient opened before fork. May not be entirely fork-safe, "
229
229
"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-" ,
232
233
** kwargs ,
233
234
)
234
235
with self ._lock :
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ classifiers = [
42
42
43
43
[project .urls ]
44
44
Homepage = " https://www.mongodb.org"
45
- Documentation = " https://pymongo.readthedocs.io "
45
+ Documentation = " https://www.mongodb.com/docs/languages/python/pymongo-driver/current/ "
46
46
Source = " https://github.com/mongodb/mongo-python-driver"
47
47
Tracker = " https://jira.mongodb.org/projects/PYTHON/issues"
48
48
You can’t perform that action at this time.
0 commit comments