You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by vl...@apache.org on 2026/05/05 14:52:12 UTC
(tapestry-5-site-builder) 09/15: 'current' instead of latest version in built urls
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tapestry-5-site-builder.git
commit d99d4f641912ea83a582fc2150cd00b00581283d
Author: Volker Lamp <vl...@apache.org>
AuthorDate: Fri Feb 13 16:07:09 2026 +0100
'current' instead of latest version in built urls
That way, Redirects (configured in the .htaccess file) don't have to be updated for each new version.
---
antora-playbook.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/antora-playbook.yml b/antora-playbook.yml
index 91aaf3c..81ddfa6 100644
--- a/antora-playbook.yml
+++ b/antora-playbook.yml
@@ -5,6 +5,10 @@ content:
sources:
- url: https://github.com/vjlamp/tapestry-antora-site-poc-content.git
branches: [main, 5.*]
+urls:
+ # Make the latest version appear as 'current' in URLs (instead of the version number).
+ # That way, Redirects (configured in the .htaccess file) don't have to be updated for each new version.
+ latest_version_segment: current
asciidoc:
extensions:
- asciidoctor-kroki