From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1684390-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 9D2B0158042
	for <garchives@archives.gentoo.org>; Tue, 29 Oct 2024 11:41:42 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 57DADE07F6;
	Tue, 29 Oct 2024 11:41:41 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 4476BE07F6
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Oct 2024 11:41:41 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 821143430D0
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Oct 2024 11:41:40 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E5247197F
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Oct 2024 11:41:38 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1730202035.9e2aa3cc903cbff82ea040cb9ca494505fce528d.ulm@gentoo>
Subject: [gentoo-commits] proj/devmanual:master commit in: bin/
X-VCS-Repository: proj/devmanual
X-VCS-Files: bin/gen-eclass-html.sh
X-VCS-Directories: bin/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 9e2aa3cc903cbff82ea040cb9ca494505fce528d
X-VCS-Branch: master
Date: Tue, 29 Oct 2024 11:41:38 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 0ea7c994-6ed1-4c99-ac36-c9a718575c69
X-Archives-Hash: a3ff1a588e3393876f95bbd6bf91ff4e

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>