-
-
Notifications
You must be signed in to change notification settings - Fork 48
Description
The icons in the "Quick Start" section are not always displayed, depending on the position of the page in the tree.
If https://jreleaser.org/guide/latest/ is the base URL.
On top level (directly under the "base URL"), pages like:
https://jreleaser.org/guide/latest/install.html
https://jreleaser.org/guide/latest/integrations.html
It does not work:
On second level (located in one folder under the "base URL"), pages like:
https://jreleaser.org/guide/latest/quick-start/index.html
https://jreleaser.org/guide/latest/concepts/index.html
It works:
On third level (located in 2 folders under the "base URL"), pages like:
https://jreleaser.org/guide/latest/concepts/distributions/binary.html
https://jreleaser.org/guide/latest/concepts/templates/templates.html
It does not work:
The navigation is defined here:
jreleaser.github.io/docs/modules/quick-start/nav.adoc
Lines 2 to 5 in 80703ac
| ** xref:cli.adoc[{icon_cli_xs} Command Line] | |
| ** xref:maven.adoc[{icon_maven_xs} Apache Maven] | |
| ** xref:gradle.adoc[{icon_gradle_xs} Gradle] | |
| ** xref:ant.adoc[{icon_ant_xs} Apache Ant] |
With the variables being defined here:
jreleaser.github.io/docs/antora.yml
Lines 19 to 22 in 80703ac
| icon_cli_xs: image:ROOT:cli.svg[width=16,height=16] | |
| icon_maven_xs: image:ROOT:maven.svg[width=16,height=16] | |
| icon_gradle_xs: image:ROOT:gradle.svg[width=16,height=16] | |
| icon_ant_xs: image:ROOT:ant.svg[width=16,height=16] |
I am not familiar with this image:ROOT: notation, but it seems to always resolve to ../_images/ when it should be different based on the position of the page that is being rendered.