From 7496f212c025e82fdb6de5dcd27c6dae7b69912e Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 24 Apr 2024 16:25:58 -0500 Subject: [PATCH] PYTHON-4402 Remove dead links --- .github/workflows/test-python.yml | 3 --- doc/migrate-to-pymongo4.rst | 8 ++------ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index fe5d530dcd..5df13b950d 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -109,9 +109,6 @@ jobs: - name: Install dependencies run: | pip install -q tox - - name: Check links - run: | - tox -m linkcheck - name: Build docs run: | tox -m doc diff --git a/doc/migrate-to-pymongo4.rst b/doc/migrate-to-pymongo4.rst index f751b41812..bc6da85560 100644 --- a/doc/migrate-to-pymongo4.rst +++ b/doc/migrate-to-pymongo4.rst @@ -637,12 +637,10 @@ Collection.group is removed ........................... Removed :meth:`pymongo.collection.Collection.group`. This method was -deprecated in PyMongo 3.5. MongoDB 4.2 removed the `group command`_. +deprecated in PyMongo 3.5. MongoDB 4.2 removed the group command. Use :meth:`~pymongo.collection.Collection.aggregate` with the ``$group`` stage instead. -.. _group command: https://mongodb.com/docs/manual/reference/command/group/ - Collection.map_reduce and Collection.inline_map_reduce are removed .................................................................. @@ -940,9 +938,7 @@ Collection.parallel_scan is removed ................................... Removed :meth:`~pymongo.collection.Collection.parallel_scan`. MongoDB 4.2 -removed the `parallelCollectionScan command`_. There is no replacement. - -.. _parallelCollectionScan command: https://mongodb.com/docs/manual/reference/command/parallelCollectionScan/ +removed the parallelCollectionScan command. There is no replacement. pymongo.message helpers are removed ...................................