commit:     466211ebd818b97109a9ffdec4d48e8c28d8a579
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:17:57 2024 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=466211eb

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh
index 9dd6a56..e813f28 100755
--- a/bin/gen-eclass-html.sh
+++ b/bin/gen-eclass-html.sh
@@ -193,7 +193,7 @@ if [[ -z ${NOMAN} ]]; then
        <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>" \
+               echo "<li><uri link=\"::eclass-reference/$(basename 
$i)/\"/></li>" \
                        >> "${OUTPUTDIR}"/text.xml || exit 1
        done
        cat <<- 'EOF' >> "${OUTPUTDIR}"/text.xml || exit 1

Reply via email to