Skip to content

Commit 4eb8e3d

Browse files
authored
fix: redirect latest version to stable (#774)
1 parent 3f9aaf7 commit 4eb8e3d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

antora-playbook.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ urls:
1919
# latest version is not latest anymore, the redirect is instead the actual URL.
2020
latest_version_segment: stable
2121
latest_version_segment_strategy: redirect:to
22+
# If `redirect_facility` is not specified it defaults to `static`. This, in turn,
23+
# transparently changes the `redirect:to` strategy to `replace`, which is not the one
24+
# we want. See https://docs.antora.org/antora/latest/playbook/urls-latest-version-segment-strategy/#key
25+
redirect_facility: netlify
2226
# See https://docs.antora.org/antora/latest/playbook/urls-html-extension-style/#html-extension-style-key
2327
html_extension_style: indexify
2428
content:

0 commit comments

Comments
 (0)