This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 6bb9c6d4e Allow deep references below /apidocs/latest
6bb9c6d4e is described below
commit 6bb9c6d4e77a2315ef9017fdcb66f5cc6f69d88a
Author: Konrad Windszus <[email protected]>
AuthorDate: Fri Dec 12 13:53:06 2025 +0100
Allow deep references below /apidocs/latest
---
src/main/jbake/assets/.htaccess | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/main/jbake/assets/.htaccess b/src/main/jbake/assets/.htaccess
index 35f919514..53e9a5ca3 100644
--- a/src/main/jbake/assets/.htaccess
+++ b/src/main/jbake/assets/.htaccess
@@ -21,8 +21,7 @@ RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
AddDefaultCharset utf-8
# Redirect to API docs of latest sling release
-RewriteCond %{REQUEST_URI} ^/apidocs/latest/?$
-RewriteRule ^ /apidocs/sling13/ [R=302,L]
+RewriteRule ^/apidocs/latest(/.*)?$ /apidocs/sling13$1 [R=302,L]
# Error pages
ErrorDocument 403 /errors/403.html