This is an automated email from the ASF dual-hosted git repository.
sseifert 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 2f03fb000 links to sling 14 apidcos
2f03fb000 is described below
commit 2f03fb0000b7ba4fdc3ebaec4f3030f6f11102c5
Author: Stefan Seifert <[email protected]>
AuthorDate: Mon Mar 9 15:27:26 2026 +0100
links to sling 14 apidcos
---
src/main/jbake/assets/.htaccess | 2 +-
src/main/jbake/content/documentation/apidocs.md | 1 +
src/main/jbake/templates/menu.tpl | 3 +--
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/jbake/assets/.htaccess b/src/main/jbake/assets/.htaccess
index 55d4e3746..7de4b0819 100644
--- a/src/main/jbake/assets/.htaccess
+++ b/src/main/jbake/assets/.htaccess
@@ -21,7 +21,7 @@ RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
AddDefaultCharset utf-8
# Redirect to API docs of latest sling release
-RewriteRule ^apidocs/latest(/.*)?$ /apidocs/sling13$1 [R=302,L]
+RewriteRule ^apidocs/latest(/.*)?$ /apidocs/sling14$1 [R=302,L]
# Error pages
ErrorDocument 403 /errors/403.html
diff --git a/src/main/jbake/content/documentation/apidocs.md
b/src/main/jbake/content/documentation/apidocs.md
index ace15aa04..a99ca7aa2 100644
--- a/src/main/jbake/content/documentation/apidocs.md
+++ b/src/main/jbake/content/documentation/apidocs.md
@@ -9,6 +9,7 @@ tableOfContents=false
Use these links to access the API docs of the various Sling versions:
+* [Sling 14](/apidocs/sling14/index.html)
* [Sling 13](/apidocs/sling13/index.html)
* [Sling 12](/apidocs/sling12/index.html)
* [Sling 11](/apidocs/sling11/index.html)
diff --git a/src/main/jbake/templates/menu.tpl
b/src/main/jbake/templates/menu.tpl
index 8d3bf276a..1bde797d4 100644
--- a/src/main/jbake/templates/menu.tpl
+++ b/src/main/jbake/templates/menu.tpl
@@ -22,11 +22,10 @@ div(class:"container") {
strong("API Docs")
}
ul() {
+
li(){a(href:"${config.site_contextPath}apidocs/sling14/index.html", "Sling 14")}
li(){a(href:"${config.site_contextPath}apidocs/sling13/index.html", "Sling 13")}
li(){a(href:"${config.site_contextPath}apidocs/sling12/index.html", "Sling 12")}
li(){a(href:"${config.site_contextPath}apidocs/sling11/index.html", "Sling 11")}
-
li(){a(href:"${config.site_contextPath}apidocs/sling10/index.html", "Sling 10")}
-
li(){a(href:"${config.site_contextPath}apidocs/sling9/index.html", "Sling 9")}
li(){a(href:"${config.site_contextPath}documentation/apidocs.html", "All
versions")}
}
}