Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/redirects
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ symlink: current -> master

raw: ${prefix}/ -> ${base}/current/
raw: ${prefix}/master -> ${base}/upcoming/
[v5.1-*]: ${prefix}/${version}/get-started/connect-to-mongodb -> ${base}/get-started/run-sample-query
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://www.mongodb.com/docs/meta/redirects/#rules

Suggested change
[v5.1-*]: ${prefix}/${version}/get-started/connect-to-mongodb -> ${base}/get-started/run-sample-query
[v5.1-*]: ${prefix}/${version}/get-started/connect-to-mongodb/ -> ${base}/get-started/run-sample-query/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thanks for the catch!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

q: just double-checking that this change should apply only to v5.1 and above?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5.1 is the lowest version in the version flipper: https://www.mongodb.com/docs/languages/kotlin/kotlin-sync-driver/v5.1/! Should I just do raw instead if that is the case?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in slack dms

2 changes: 1 addition & 1 deletion source/get-started.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Get Started with the Kotlin Sync Driver
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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _kotlin-sync-connect-to-mongodb:
.. _kotlin-sync-run-sample-query:

==================
Connect to MongoDB
Run a Sample Query
==================

.. procedure::
Expand Down
Loading