From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1684389-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 52026158042 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 44C7EE0805; 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 2BA93E07F6 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 67CA63430CB 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 D25AD11DF 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: <1730202015.cbc990eda2422d121e775d7bdf82e00cb0160fbd.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: cbc990eda2422d121e775d7bdf82e00cb0160fbd 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: 03413b77-166e-4e8c-8d31-cc88f5d4c577 X-Archives-Hash: 0a27e2fc0dd15c1412e784aac9c3c1c0 commit: cbc990eda2422d121e775d7bdf82e00cb0160fbd Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Tue Oct 29 11:17:18 2024 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue Oct 29 11:40:15 2024 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=cbc990ed bin/gen-eclass-html.sh: Update message for eclasses fallback Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> bin/gen-eclass-html.sh | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh index b17fbc5..3a4decc 100755 --- a/bin/gen-eclass-html.sh +++ b/bin/gen-eclass-html.sh @@ -180,31 +180,36 @@ Note that most eclasses have an accompanying manual page. These man pages can be installed by emerging <c>app-doc/eclass-manpages</c>. </p> -</body> - -<section> -<title>Contents</title> -<body> EOF if [[ -n ${NOMAN} ]]; then cat <<- 'EOF' >> "${OUTPUTDIR}"/text.xml || exit 1 - <warning> - This is only a placeholder. If you see this text in the output document, - then the eclass documentation is missing. - </warning> + <note> + This version of the devmanual does not include the eclass documentation. + </note> + </body> EOF else - echo '<ul class="list-group">' >> "${OUTPUTDIR}"/text.xml || exit 1 + cat <<- 'EOF' >> "${OUTPUTDIR}"/text.xml || exit 1 + </body> + + <section> + <title>Contents</title> + <body> + + <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 done - echo '</ul>' >> "${OUTPUTDIR}"/text.xml || exit 1 + cat <<- 'EOF' >> "${OUTPUTDIR}"/text.xml || exit 1 + </ul> + </body> + </section> + EOF fi cat << 'EOF' >> "${OUTPUTDIR}"/text.xml || exit 1 -</body> -</section> </chapter> </guide> EOF