This is an automated email from the ASF dual-hosted git repository.
radu 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 663741caa rendering consistency across pages with updated ASF logos
(#227)
663741caa is described below
commit 663741caac7d547bcc27dc8d5812b22b15d897dd
Author: Radu Cotescu <[email protected]>
AuthorDate: Wed Oct 1 13:33:50 2025 +0200
rendering consistency across pages with updated ASF logos (#227)
* use the svg ASF logo
* correct the width of the main column to correctly deal with horizontal
content
* updated other ASF logos to their new branding
* updated the release management page with a script instead of a chain
of commands
---
src/main/jbake/assets/res/css/site.css | 6 +++++-
.../jbake/content/documentation/development/release-management.md | 6 +++---
src/main/jbake/templates/logos.tpl | 2 +-
src/main/jbake/templates/menu.tpl | 2 +-
4 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/main/jbake/assets/res/css/site.css
b/src/main/jbake/assets/res/css/site.css
index 636e38fea..5686c56a2 100644
--- a/src/main/jbake/assets/res/css/site.css
+++ b/src/main/jbake/assets/res/css/site.css
@@ -48,7 +48,11 @@ a:hover {
.main {
border-top: var(--page-border-top-height,10px) solid #cde0ea;
- max-width: 1000px;
+ overflow-x: auto;
+}
+
+.section {
+ max-width: 80%;
}
diff --git
a/src/main/jbake/content/documentation/development/release-management.md
b/src/main/jbake/content/documentation/development/release-management.md
index 6ebd2fc2d..c39f765db 100644
--- a/src/main/jbake/content/documentation/development/release-management.md
+++ b/src/main/jbake/content/documentation/development/release-management.md
@@ -219,13 +219,13 @@ For the last two tasks, it's better to give the CDN some
time to process the upl
### Quick update of artifacts in dist
-It is possible to update the artifacts without needing to checkout or update
the full dist folder, which can be quite slow, by using `svn import` and `svn
delete` on the remote SVN repository.
+It is possible to update the artifacts without needing to checkout or update
the full dist folder, which can be quite slow.
Assuming that we are releasing `org.apache.sling.engine 2.6.22` and the old
version artifact names start with `org.apache.sling.engine-2.6.20`, we can run
the following commands
$ cd <folder where 2.6.22 is found>
- $ svn import -m "Release org.apache.sling.engine-2.6.22" .
https://dist.apache.org/repos/dist/release/sling
- $ svn delete -m "Remove old version org.apache.sling.engine-2.6.20" $(svn
ls https://dist.apache.org/repos/dist/release/sling/ | grep
org.apache.sling.engine-2.6.20 | while read line; do echo
"https://dist.apache.org/repos/dist/release/sling/$line"; done)
+ $ curl -fsSL
https://raw.githubusercontent.com/apache/sling-tooling-release/refs/heads/master/update_dist.sh
\
+ | bash -s -- org.apache.sling.engine 2.6.20 2.6.22
This makes sure that the new artifacts are imported and the old ones are
deleted.
diff --git a/src/main/jbake/templates/logos.tpl
b/src/main/jbake/templates/logos.tpl
index 960715f0f..2154db4fd 100644
--- a/src/main/jbake/templates/logos.tpl
+++ b/src/main/jbake/templates/logos.tpl
@@ -6,6 +6,6 @@
}
div(class:"header asf-logo") {
a(href:"https://www.apache.org") {
- img(alt:"Apache Software Foundation",
src:"https://apache.org/img/asf_logo.png")
+ img(alt:"Apache Software Foundation",
src:"https://apache.org/images/asflogo_horizontal_color.svg")
}
}
diff --git a/src/main/jbake/templates/menu.tpl
b/src/main/jbake/templates/menu.tpl
index faa9b33a3..8d3bf276a 100644
--- a/src/main/jbake/templates/menu.tpl
+++ b/src/main/jbake/templates/menu.tpl
@@ -83,7 +83,7 @@ div(class:"container") {
img(
border:"0",
alt:"Support the Apache Software Foundation!",
-
src:"${config.site_contextPath}res/images/SupportApache-small.png",
+
src:"https://www.apache.org/images/SupportApache-small.png",
width:"125"
)
}