You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/contribute/redirects.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,11 @@ For API redirects, consult with the documentation engineering team on Slack (#el
16
16
17
17
For elastic.co/guide redirects, open a [web team request](http://ela.st/web-request).
18
18
19
-
## File location.
19
+
## Validation
20
+
21
+
Running `docs-builder diff validate` will give you feedback on whether all necessary redirect rules are in place after your changes. It will also run on pull requests.
22
+
23
+
## File location
20
24
21
25
Redirects are configured at the content set-level.
22
26
The configuration file should be located next to your `docset.yml` file:
Copy file name to clipboardExpand all lines: docs/syntax/applies.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,10 @@ Where:
70
70
- The [version](#version) is optional
71
71
- You can specify multiple states by separating them with a comma. For example: `stack: preview 9.1, ga 9.4`
72
72
73
+
:::{note}
74
+
**Automatic Version Sorting**: When you specify multiple versions for the same product, the build system automatically sorts them in descending order (highest version first) regardless of the order you write them in the source file. For example, `stack: ga 8.18.6, ga 9.1.2, ga 8.19.2, ga 9.0.6` will be displayed as `stack: ga 9.1.2, ga 9.0.6, ga 8.19.2, ga 8.18.6`. Items without versions (like `ga` without a version or `all`) are sorted last.
75
+
:::
76
+
73
77
Note that a key without any value doesn't show any badge in the output.
0 commit comments