Skip to content

Commit aa71854

Browse files
AMust include trailing slashes and update for Snooty.
1 parent 180aeb8 commit aa71854

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

source/redirects.txt

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ Pragmas
5454
``${versions}`` variable.
5555
- ``<alias>`` may specify a nested path; e.g. ``symlink onprem/upcoming -> master``
5656

57+
.. note::
58+
59+
Symlink aliases are ignored on the Snooty toolchain. Refer to Snooty documentation
60+
for creating aliases on Snooty-enabled repos.
61+
5762
Rules
5863
~~~~~
5964

@@ -74,6 +79,11 @@ Rules
7479
For example, ``[v1.0-v2.0)`` would match ``v1.0`` and ``v1.5``, but **NOT**
7580
``v2.0``.
7681

82+
.. important::
83+
84+
Include the trailing slash (``/``) on both the source and target when
85+
creating redirects.
86+
7787
Comments
7888
~~~~~~~~
7989

@@ -101,13 +111,13 @@ Example
101111
symlink: current -> master
102112

103113
# These rules are *raw* rules: a raw rule corresponds to exactly one output redirect.
104-
raw: bi-connector/ -> ${base}/current
105-
raw: bi-connector/schema-configuration -> ${base}/master/schema-configuration
114+
raw: bi-connector/ -> ${base}/current/
115+
raw: bi-connector/schema-configuration/ -> ${base}/master/schema-configuration/
106116

107117
# These rules are *version* rules, generating an output redirect *for each*
108118
# of the selected version strings.
109-
[*-v2.1]: bi-connector/${version}/connect/mysql -> ${base}/${version}/tutorial/connecting
110-
(v2.1-*]: bi-connector/${version}/tutorial/connecting-to-atlas -> ${base}/${version}/reference/mongosqld
119+
[*-v2.1]: bi-connector/${version}/connect/mysql/ -> ${base}/${version}/tutorial/connecting/
120+
(v2.1-*]: bi-connector/${version}/tutorial/connecting-to-atlas/ -> ${base}/${version}/reference/mongosqld/
111121

112122
Generating Redirects
113123
--------------------

0 commit comments

Comments
 (0)