diff options
author | Ulrich Müller <ulm@gentoo.org> | 2024-10-29 12:17:57 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2024-10-29 12:40:35 +0100 |
commit | 9e2aa3cc903cbff82ea040cb9ca494505fce528d (patch) | |
tree | 6854fc5f9d7fffcd132754f16582a76c13a69b5a | |
parent | bin/gen-eclass-html.sh: Update message for eclasses fallback (diff) | |
download | devmanual-9e2aa3cc903cbff82ea040cb9ca494505fce528d.tar.gz devmanual-9e2aa3cc903cbff82ea040cb9ca494505fce528d.tar.bz2 devmanual-9e2aa3cc903cbff82ea040cb9ca494505fce528d.zip |
bin/gen-eclass-html.sh: Use intra-document link targets
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rwxr-xr-x | bin/gen-eclass-html.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh index 3a4decc..4a7ba89 100755 --- a/bin/gen-eclass-html.sh +++ b/bin/gen-eclass-html.sh @@ -200,7 +200,8 @@ else <ul class="list-group"> EOF for i in $(find "${OUTPUTDIR}" -maxdepth 1 -mindepth 1 -type d | sort); do - echo "<li><uri link=\"$(basename $i)/index.html\">$(basename $i)</uri></li>" >> "${OUTPUTDIR}"/text.xml || exit 1 + echo "<li><uri link=\"::eclass-reference/$(basename $i)/\"/></li>" \ + >> "${OUTPUTDIR}"/text.xml || exit 1 done cat <<- 'EOF' >> "${OUTPUTDIR}"/text.xml || exit 1 </ul> |