From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; 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 ; 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 ; 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 ; Tue, 29 Oct 2024 11:41:38 +0000 (UTC) From: "Ulrich Müller" 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" 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: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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 gentoo org> AuthorDate: Tue Oct 29 11:17:18 2024 +0000 Commit: Ulrich Müller gentoo 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 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 app-doc/eclass-manpages.

- - -
-Contents - EOF if [[ -n ${NOMAN} ]]; then cat <<- 'EOF' >> "${OUTPUTDIR}"/text.xml || exit 1 - - This is only a placeholder. If you see this text in the output document, - then the eclass documentation is missing. - + + This version of the devmanual does not include the eclass documentation. + + EOF else - echo '
    ' >> "${OUTPUTDIR}"/text.xml || exit 1 + cat <<- 'EOF' >> "${OUTPUTDIR}"/text.xml || exit 1 + + +
    + Contents + + +
      + EOF for i in $(find "${OUTPUTDIR}" -maxdepth 1 -mindepth 1 -type d | sort); do echo "
    • $(basename $i)
    • " >> "${OUTPUTDIR}"/text.xml || exit 1 done - echo '
    ' >> "${OUTPUTDIR}"/text.xml || exit 1 + cat <<- 'EOF' >> "${OUTPUTDIR}"/text.xml || exit 1 +
+ +
+ EOF fi cat << 'EOF' >> "${OUTPUTDIR}"/text.xml || exit 1 - - EOF