diff --git a/pymongo/collection.py b/pymongo/collection.py index 56d5977f1..b95bfb832 100644 --- a/pymongo/collection.py +++ b/pymongo/collection.py @@ -2869,7 +2869,7 @@ class Collection(common.BaseObject, Generic[_DocumentType]): .. seealso:: The MongoDB documentation on `changeStreams `_. .. _change streams specification: - https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.rst + https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.md """ return CollectionChangeStream( self, diff --git a/pymongo/database.py b/pymongo/database.py index e21aa6879..c8f63a9d1 100644 --- a/pymongo/database.py +++ b/pymongo/database.py @@ -660,7 +660,7 @@ class Database(common.BaseObject, Generic[_DocumentType]): .. seealso:: The MongoDB documentation on `changeStreams `_. .. _change streams specification: - https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.rst + https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.md """ return DatabaseChangeStream( self, diff --git a/pymongo/mongo_client.py b/pymongo/mongo_client.py index 910c76f90..e7435200d 100644 --- a/pymongo/mongo_client.py +++ b/pymongo/mongo_client.py @@ -1027,7 +1027,7 @@ class MongoClient(common.BaseObject, Generic[_DocumentType]): .. seealso:: The MongoDB documentation on `changeStreams `_. .. _change streams specification: - https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.rst + https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.md """ return ClusterChangeStream( self.admin,