Skip to content

Commit

Permalink
DOCSP-38350 - fix redirects (#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
mongoKart authored Apr 8, 2024
1 parent 3bb2ca7 commit 2a75928
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions config/redirects
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ define: kafka https://www.mongodb.com/docs/kafka-connector/current
define: manual https://www.mongodb.com/docs/manual
define: atlas https://www.mongodb.com/docs/atlas
define: devhub https://www.mongodb.com/developer
define: languages-base https://www.mongodb.com/docs/languages
define: cpp-driver-base ${languages-base}/cpp/cpp-driver/current

# Go

Expand Down Expand Up @@ -40,16 +42,16 @@ raw: docs/drivers/syntax-table -> ${base}/

# cpp

raw: docs/drivers/tutorial/download-and-compile-cpp-driver -> https://www.mongodb.com/docs/languages/cpp/drivers/current/installation/
raw: docs/drivers/tutorial/getting-started-with-cpp-driver -> https://www.mongodb.com/docs/languages/cpp/drivers/current/tutorial/
raw: docs/drivers/cpp-bson-array-examples -> https://www.mongodb.com/docs/languages/cpp/drivers/current/working-with-bson/
raw: docs/drivers/cpp-bson-helper-functions -> https://www.mongodb.com/docs/languages/cpp/drivers/current/working-with-bson/
raw: docs/drivers/cpp-to-sql-to-mongo-shell -> https://www.mongodb.com/docs/languages/cpp/drivers/current/
raw: docs/drivers/tutorial/download-and-compile-cpp-driver -> languages/installation/
raw: docs/drivers/tutorial/getting-started-with-cpp-driver -> ${cpp-driver-base}/tutorial/
raw: docs/drivers/cpp-bson-array-examples -> ${cpp-driver-base}/working-with-bson/
raw: docs/drivers/cpp-bson-helper-functions -> ${cpp-driver-base}/working-with-bson/
raw: docs/drivers/cpp-to-sql-to-mongo-shell -> ${cpp-driver-base}
raw: docs/drivers/tutorial/download-and-compile-cpp-driver-legacy -> https://mongocxx.org/legacy-v1/
raw: docs/drivers/tutorial/authenticate-with-cpp-driver -> https://www.mongodb.com/docs/languages/cpp/drivers/current/configuration/#configuring-authentication
raw: docs/drivers/cxx -> docs/drivers/cpp
raw: docs/drivers/cxx/index -> docs/drivers/cpp
raw: /docs/languages/cxx -> /docs/languages/cpp
raw: docs/drivers/tutorial/authenticate-with-cpp-driver -> ${cpp-driver-base}/configuration/#configuring-authentication
raw: docs/drivers/cxx -> ${cpp-driver-base}
raw: docs/drivers/cxx/index -> ${cpp-driver-base}
raw: /docs/languages/cxx -> ${cpp-driver-base}

# csharp

Expand Down Expand Up @@ -210,8 +212,8 @@ raw: docs/ecosystem/ -> ${base}/

raw: docs/drivers/drivers/ -> ${base}/
raw: docs/drivers/drivers/c/ -> ${base}/c/
raw: docs/drivers/drivers/cxx/ -> https://www.mongodb.com/docs/languages/cpp/drivers/current/
raw: docs/drivers/drivers/cpp/ -> https://www.mongodb.com/docs/languages/cpp/drivers/current/
raw: docs/drivers/drivers/cxx/ -> ${cpp-driver-base}
raw: docs/drivers/drivers/cpp/ -> ${cpp-driver-base}
raw: docs/drivers/drivers/csharp/ -> ${base}/csharp/current/
raw: docs/drivers/drivers/go/ -> ${base}/go/current/
raw: docs/drivers/drivers/java/ -> ${base}/java-drivers/
Expand Down

0 comments on commit 2a75928

Please sign in to comment.