Skip to content

Commit 8261834

Browse files
committed
DOCSP-47962 change url base to make redirect work (mongodb#71)
* change url base to make redirect work * add version (cherry picked from commit cedd727)
1 parent 11552d7 commit 8261834

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/redirects

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
define: prefix docs/languages/kotlin/kotlin-sync-driver
2-
define: base https://www.mongodb.com/docs/
3-
define: versions v5.1 v5.2 master
2+
define: base https://www.mongodb.com/docs/${prefix}
3+
define: versions v5.1 v5.2 v5.3 master
44

55
symlink: current -> master
66

77
# raw: <source file> -> ${base}/<destination>
88

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

0 commit comments

Comments
 (0)