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 3BC3A158042 for ; Tue, 12 Nov 2024 18:51:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9562E07F0; Tue, 12 Nov 2024 18:51:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 A8BC2E07F0 for ; Tue, 12 Nov 2024 18:51:15 +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 D8920335DCC for ; Tue, 12 Nov 2024 18:51:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 447AA17EC for ; Tue, 12 Nov 2024 18:51:13 +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: <1731135422.6a6a071ba6e6d5561915259ceb00d894b7110a4b.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: / X-VCS-Repository: proj/devmanual X-VCS-Files: devbook.xsl X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 6a6a071ba6e6d5561915259ceb00d894b7110a4b X-VCS-Branch: master Date: Tue, 12 Nov 2024 18:51:13 +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: f388fc11-94fc-42bb-93a0-2d5c36f361a0 X-Archives-Hash: 26ef7da551a1fa1e274de6b39bf43c7f commit: 6a6a071ba6e6d5561915259ceb00d894b7110a4b Author: Ulrich Müller gentoo org> AuthorDate: Wed Nov 6 19:54:36 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Nov 9 06:57:02 2024 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=6a6a071b devbook.xsl: Rework the contents template - New extraction-count template, split off from contents - Fix path_rel; it was correct only for the two special cases of an empty path or a path equal to @self - Suppress empty
    in output Signed-off-by: Ulrich Müller gentoo.org> devbook.xsl | 155 +++++++++++++++++++++++++++++------------------------------- 1 file changed, 75 insertions(+), 80 deletions(-) diff --git a/devbook.xsl b/devbook.xsl index 529365c..8615fec 100644 --- a/devbook.xsl +++ b/devbook.xsl @@ -428,105 +428,100 @@ + + + + + + + + + + + + + + + + + + + - - - - 0 - - + - - - - - ../ - - - - - - - - - - - - - - - - - - - - - - - -
      - - + + + + + + + + + + + + + + + + + + + +
        + + + + +
      • + + + + + + + + + + +
          + +
        • +
          +
        +
        + - - - - - -
      • - - - - - - - - - - -
          - -
        • -
          -
        -
        - - - - - - - - -
      • -
        -
        -
      - - + +
      +
      +
    +