This is an automated email from the ASF dual-hosted git repository. dashorst pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/wicket-site.git
commit 963e55d18e340617337c7fe6ef0e26ac13b9fa3f Author: Martijn Dashorst <[email protected]> AuthorDate: Mon Oct 26 23:09:00 2026 +0100 Reference guide: a PDF link beside each one-page guide The Docs page header and the line pages linked only the one-page HTML guide; the PDFs were only in the table at the foot of the Docs page. Co-Authored-By: Claude Opus 5.5 <[email protected]> --- _layouts/hub.html | 4 ++-- docs/index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_layouts/hub.html b/_layouts/hub.html index 799f6c43..a3ad2343 100644 --- a/_layouts/hub.html +++ b/_layouts/hub.html @@ -143,9 +143,9 @@ layout: base <h3>Docs</h3> {% if recommended %} <p><a href="{{ site.baseurl }}/docs/?v={{ major }}">The documentation for Wicket {{ page.series }}</a>: tutorials, how-to guides, reference and explanation.</p> - <p class="hub-panel-alt"><a href="https://nightlies.apache.org/wicket/guide/{{ page.series }}.x/single.html">The reference guide as one document</a></p> + <p class="hub-panel-alt"><a href="https://nightlies.apache.org/wicket/guide/{{ page.series }}.x/single.html">The reference guide as one document</a> · <a href="https://nightlies.apache.org/wicket/guide/{{ page.series }}.x/single.pdf">PDF</a></p> {% elsif major >= 7 %} - <p><a href="https://nightlies.apache.org/wicket/guide/{{ page.series }}.x/single.html">The reference guide for Wicket {{ page.series }}</a>, as one document.</p> + <p><a href="https://nightlies.apache.org/wicket/guide/{{ page.series }}.x/single.html">The reference guide for Wicket {{ page.series }}</a>, as one document or as <a href="https://nightlies.apache.org/wicket/guide/{{ page.series }}.x/single.pdf">PDF</a>.</p> {% else %} <p>Wicket {{ page.series }} has no reference guide of its own; the <a href="https://cwiki.apache.org/WICKET">wiki</a> and the <a href="{{ site.baseurl }}/learn/books/">books</a> cover it.</p> {% endif %} diff --git a/docs/index.html b/docs/index.html index d7027976..4f9323be 100644 --- a/docs/index.html +++ b/docs/index.html @@ -19,8 +19,8 @@ active_link: documentation {% comment %} The reference guide of each line, as readers know it, in the order of the release lines, then the announced line. {% endcomment %} {% include reference-lines.html %} {% assign next = site.data.releases.lines | where: "status", "boarding" | first %} - <p class="guide-sign-refs"><span class="guide-sign-refs-label">The reference guide (formerly the User Guide), one page per release line:</span> - {% for n in ref_lines %}{% assign line = site.data.releases.lines | where: "series", n | where_exp: "l", "l.page" | first %}<a href="https://nightlies.apache.org/wicket/guide/{{ n }}.x/single.html">Wicket {{ n }}</a>{% if line.status == 'lts' %} <span class="tag tag-lts">LTS</span>{% endif %}{% if line.role %} <span class="tag tag-current">{{ line.role }}</span>{% endif %} · {% endfor %}{% if next %}<a href="https://nightlies.apache.org/wicket/guide/{{ next.series }}.x/single [...] + <p class="guide-sign-refs"><span class="guide-sign-refs-label">The reference guide (formerly the User Guide), one page or PDF per release line:</span> + {% for n in ref_lines %}{% assign line = site.data.releases.lines | where: "series", n | where_exp: "l", "l.page" | first %}<a href="https://nightlies.apache.org/wicket/guide/{{ n }}.x/single.html">Wicket {{ n }}</a>{% if line.status == 'lts' %} <span class="tag tag-lts">LTS</span>{% endif %}{% if line.role %} <span class="tag tag-current">{{ line.role }}</span>{% endif %} (<a href="https://nightlies.apache.org/wicket/guide/{{ n }}.x/single.pdf">PDF<span class="visually-hidde [...] <p class="guide-sign-scope">These pages cover Wicket {{ site.data.guide_lines | join: " and " }}. On an older line, use its reference guide.</p> </div> </div>
