Style the wicket-10.x reference guide like wicket.apache.org
Los mantenedores suelen responder en 1 día
@dashorst ya está trabajando en esto.
Desde el 15/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
The reference guide on master now follows the design of wicket.apache.org (#1844). The guide of the 10.x line, on wicket-10.x, still uses the 2017 copy of the default Asciidoctor stylesheet, and it has the same highlighting bug master had: wicket-user-guide/pom.xml passes <sourceHighlighter>coderay</sourceHighlighter>, which asciidoctor-maven-plugin 2.x does not know and silently ignores, so every listing renders as plain text. The page also loads Font Awesome from cdnjs for the admonition icons. Readers of the guide for 10.x get none of the improvements, and the guides look different depending on which version you open from the site's version list.
What to bring over
Two commits on master, cherry-picked in this order:
- 745ae018ec, Style the reference guide like wicket.apache.org (#1845):
- Rouge highlighting through the
source-highlighterattribute; - a docinfo masthead linking to the site, the Javadoc of the line and the other versions;
- a table of contents that follows the section being read;
- a language label and a copy button for each listing;
- admonitions restyled as asides;
- a dark mode;
- no external requests;
- the accessibility fixes from the review (skip link, landmarks,
aria-current, named copy buttons); - the version line in the title, masthead and Javadoc link taken from the project version via build-helper's
parse-version.
- Rouge highlighting through the
- e5999f0896, Take the reference guide's fonts from webjars at build time (#1896). The Alegreya and JetBrains Mono fonts are SIL OFL (Category B), so they must not be in the source tree. This commit fetches them from the fontsource webjars in the
guideprofile. Never cherry-pick the first commit without this one: on its own it puts OFL fonts in the 10.x source release.
Cherry-pick with -x so the origin stays traceable.
Expected conflicts
I tried both cherry-picks on wicket-10.x. The first conflicts only in single.adoc, on the title line: 10.x has = Wicket 10.x Reference Guide and :icons: font, where master has = Wicket {wicket_line} Reference Guide and :docinfo: shared. Take master's header. The title then says 10.x, because the version comes from the pom. The second commit was not tried separately because the first stopped, but it only touches the guide's pom, css and LICENSE.
The plugin setup on 10.x matches master's: asciidoctor-maven-plugin 2.2.6, and build-helper-maven-plugin managed in the root pom. Two things to check while picking:
- The pedantic pom enforcer's plugin order in the
guideprofile. - The
asciidoctorj-pdfversion on 10.x (2.3.27). The PDF execution only gains<icons>font</icons>, but check the PDF still builds.
This line is the LTS line; the change touches only the guide module, its LICENSE entries and .rat-excludes, not any shipped jar.
Follow-ups to take along once they land on master
These are still open on master. Bring them over in the same way when they are merged, or include them if they land first:
- #1891 / #1903: dark-mode table headers and the 18 px sideways scroll at phone width.
- #1885 / #1904: disclosure buttons for chapters in the table of contents.
- #1929: the missing space between number and title in the TOC entries' accessible names.
Done when
mvn -pl wicket-user-guide -Pguide generate-resourcesbuilds HTML and PDF onwicket-10.x.- The masthead shows 10.x, and its Javadoc link points to https://nightlies.apache.org/wicket/apidocs/10.x/index.html, which exists.
- Listings are highlighted, and the page makes no external requests.
git ls-tree -r --name-only HEAD wicket-user-guide | grep -iE '\.(woff2?|ttf|otf)$'returns nothing.mvn -N apache-rat:checkpasses, and a fullmvn clean verify -Pjs-teston the branch is green.
- Lenguaje dominante
- Java
- Estrellas
- 800
- Forks
- 437
- Merge medio
- 21 h 36 min
- PR fusionados (30 d)
- 167
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/wicket
-
PropertyResolver fails on JDK classes with a non-public field named like the propertyPosiblemente ocupada @vaibhavgupta443 la tomó hoy. Abiertogood first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
apache/wicket#1991 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Stop the autocomplete from accumulating request parameters while typingPosiblemente ocupada @aryankalantri la tomó hoy. Abiertogood first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
apache/wicket#1947 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Validate the report-uri value given to CSPHeaderConfiguration#reportBackPosiblemente ocupada @AzizOuertani la tomó hace 3 días. Abiertogood first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
apache/wicket#1946 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
Todos los issues de apache/wicket
Issues similares
-
Quick Installation step 2 installs from the plugin manager, but the plugin isn't published yetAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
jenkinsci/user-guide-ai-chatbot-plugin#132 ·
Los mantenedores suelen responder en 6 días
-
account assessment course feature lecture
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
[Bug] 连接达梦时报错,agent 进程启动即退Abiertobug db/dameng user-priority/P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
t8y2/dbx#15534 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
app:learninggoalhub enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100