From 4d3ccc2dbac977ab54ff1db4ead7e6362160b3fc Mon Sep 17 00:00:00 2001 From: xeniape Date: Thu, 14 Aug 2025 13:26:02 +0200 Subject: [PATCH] fix: redirect latest version to stable --- antora-playbook.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/antora-playbook.yml b/antora-playbook.yml index ecc1e81eb..183917d90 100644 --- a/antora-playbook.yml +++ b/antora-playbook.yml @@ -19,6 +19,10 @@ urls: # latest version is not latest anymore, the redirect is instead the actual URL. latest_version_segment: stable latest_version_segment_strategy: redirect:to + # If `redirect_facility` is not specified it defaults to `static`. This, in turn, + # transparently changes the `redirect:to` strategy to `replace`, which is not the one + # we want. See https://docs.antora.org/antora/latest/playbook/urls-latest-version-segment-strategy/#key + redirect_facility: netlify # See https://docs.antora.org/antora/latest/playbook/urls-html-extension-style/#html-extension-style-key html_extension_style: indexify content: