commit:     9e2aa3cc903cbff82ea040cb9ca494505fce528d
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 29 11:17:57 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 29 11:40:35 2024 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=9e2aa3cc

bin/gen-eclass-html.sh: Use intra-document link targets

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 bin/gen-eclass-html.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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>

Reply via email to