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 0A28D158042 for ; Mon, 28 Oct 2024 16:19:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34BB9E0887; Mon, 28 Oct 2024 16:19:57 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 1D925E0887 for ; Mon, 28 Oct 2024 16:19:57 +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 4BE523430CA for ; Mon, 28 Oct 2024 16:19:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F9C71626 for ; Mon, 28 Oct 2024 16:19:54 +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: <1730021962.448d00f8e1f8265fed716f9b5090ef6f7524d56e.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: 448d00f8e1f8265fed716f9b5090ef6f7524d56e X-VCS-Branch: master Date: Mon, 28 Oct 2024 16:19:54 +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: d4a0f604-6906-4590-b1c0-16662c3e0e8c X-Archives-Hash: ca3cf1b1643f6d7f43848235f2a29c48 commit: 448d00f8e1f8265fed716f9b5090ef6f7524d56e Author: Ulrich Müller gentoo org> AuthorDate: Sat Oct 26 20:33:29 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Oct 27 09:39:22 2024 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=448d00f8 devbook.xsl: Rework templates for previous/next node - Separate finding the node from HTML formatting. - Determine the absolute parent path from the path of our own @self attribute, rather than from the parent document's @self attribute. - Get the first node from the following-sibling or preceding-sibling axis directly, instead of laboriously calculating its index. Signed-off-by: Ulrich Müller gentoo.org> devbook.xsl | 151 +++++++++++++++++++++++++----------------------------------- 1 file changed, 62 insertions(+), 89 deletions(-) diff --git a/devbook.xsl b/devbook.xsl index 0a3d7d8..a10f5ab 100644 --- a/devbook.xsl +++ b/devbook.xsl @@ -747,7 +747,7 @@ - + - - - - - - - + - + - + - - + + ../ - - - - - - - - - - - - - - - + + + - - - - - - - - + + - + @@ -831,60 +803,61 @@ - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + ../ + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + +