From 3e54c12c7e4f93608a0c470de08cf3e203c1db8b Mon Sep 17 00:00:00 2001 From: shuangela Date: Fri, 28 Feb 2025 17:40:06 -0500 Subject: [PATCH] DOCSP-46752 Pymongo change duplicate title (#189) * change duplicate title pymongo * change url and add redirect * remove redirect (cherry picked from commit 163d65f4872f75c468f606cfaaae1426f87bd831) --- config/redirects | 2 ++ source/get-started.txt | 2 +- .../{connect-to-mongodb.txt => run-sample-query.txt} | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) rename source/get-started/{connect-to-mongodb.txt => run-sample-query.txt} (96%) diff --git a/config/redirects b/config/redirects index c440b1c8..6918a2a9 100644 --- a/config/redirects +++ b/config/redirects @@ -14,3 +14,5 @@ raw: ${prefix}/get-started/download-and-install/ -> ${base}/current/get-started/ [*-master]: ${prefix}/${version}/security/enterprise-authentication/ -> ${base}/${version}/security/authentication/ [*-master]: ${prefix}/${version}/faq/ -> ${base}/${version}/ [*-master]: ${prefix}/${version}/connect/connection-pools/ -> ${base}/${version}/connect/connection-options/#connection-pools +[v4.7-*]: ${prefix}/${version}/get-started/connect-to-mongodb -> ${base}/${version}/get-started/run-sample-query/ + diff --git a/source/get-started.txt b/source/get-started.txt index 7229eb3f..b4b06ecf 100644 --- a/source/get-started.txt +++ b/source/get-started.txt @@ -23,7 +23,7 @@ Get Started with {+driver-short+} Download & Install Create a Deployment Create a Connection String - Connect + Run a Sample Query Next Steps Overview diff --git a/source/get-started/connect-to-mongodb.txt b/source/get-started/run-sample-query.txt similarity index 96% rename from source/get-started/connect-to-mongodb.txt rename to source/get-started/run-sample-query.txt index 47125adf..fa12ac4e 100644 --- a/source/get-started/connect-to-mongodb.txt +++ b/source/get-started/run-sample-query.txt @@ -1,7 +1,8 @@ +.. _pymongo-get-started-run-sample-query: .. _pymongo-get-started-connect-to-mongodb: ================== -Connect to MongoDB +Run a Sample Query ================== .. procedure::