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 <[email protected]>
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

Reply via email to