From fe0c1d5612429a90a9e91e62c5f60900d42880d3 Mon Sep 17 00:00:00 2001
From: shuangela <angela.shu@mongodb.com>
Date: Tue, 25 Feb 2025 16:31:05 -0500
Subject: [PATCH] DOCSP-46749 Duplicate Title Java RS (#98)

change duplicate title

(cherry picked from commit 4da7d33d932819fd56df5d95fdfc962f38964437)
---
 config/redirects                                              | 3 +++
 .../{connect-to-mongodb.txt => run-sample-query.txt}          | 4 ++--
 source/getting-started.txt                                    | 2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)
 rename source/get-started/{connect-to-mongodb.txt => run-sample-query.txt} (97%)

diff --git a/config/redirects b/config/redirects
index c8c80fa6..c3ca5cea 100644
--- a/config/redirects
+++ b/config/redirects
@@ -6,3 +6,6 @@ symlink: current -> main
 
 raw: ${prefix}/ -> ${base}/current/
 raw: ${prefix}/stable -> ${base}/current/
+
+[*-v5.1]: ${prefix}/${version}/compatibility -> ${base}/v5.2/compatibility
+[v5.2-*]: ${prefix}/${version}/get-started/connect-to-mongodb -> ${base}/get-started/run-sample-query
\ No newline at end of file
diff --git a/source/get-started/connect-to-mongodb.txt b/source/get-started/run-sample-query.txt
similarity index 97%
rename from source/get-started/connect-to-mongodb.txt
rename to source/get-started/run-sample-query.txt
index 61ff4c3d..3877f910 100644
--- a/source/get-started/connect-to-mongodb.txt
+++ b/source/get-started/run-sample-query.txt
@@ -1,7 +1,7 @@
-.. _java-rs-get-started-connect-to-mongodb:
+.. _java-rs-get-started-sample-query:
 
 ==================
-Connect to MongoDB
+Run a Sample Query
 ==================
 
 The {+driver-short+} is an implementation of the Reactive Streams API, which consists of three components: 
diff --git a/source/getting-started.txt b/source/getting-started.txt
index 688c223c..450ed52b 100644
--- a/source/getting-started.txt
+++ b/source/getting-started.txt
@@ -23,7 +23,7 @@ Get Started
    Download & Install </get-started/download-and-install/>
    Create a Deployment </get-started/create-a-deployment/>
    Create a Connection String </get-started/create-a-connection-string/>
-   Connect </get-started/connect-to-mongodb/>
+   Run a Sample Query </get-started/run-sample-query/>
    Next Steps </get-started/next-steps/>
 
 Overview