From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 70EB21FF16B for ; Tue, 12 Aug 2025 11:55:51 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1A33C9421; Tue, 12 Aug 2025 11:57:17 +0200 (CEST) From: Christoph Heiss To: pve-devel@lists.proxmox.com Date: Tue, 12 Aug 2025 11:56:28 +0200 Message-ID: <20250812095637.444463-5-c.heiss@proxmox.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250812095637.444463-1-c.heiss@proxmox.com> References: <20250812095637.444463-1-c.heiss@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1754992573047 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.968 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_MAILER 2 Automated Mailer Tag Left in Email SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com] Subject: [pve-devel] [PATCH docs 4/5] fix #6656: asciidoc: add anchor links for paragraphs with ids X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Fixes [0]. All paragraphs with have `id` tags will now have an anchor (shown on hover) besides their title, thus making these sections easily linkable somewhere else. [0] https://bugzilla.proxmox.com/show_bug.cgi?id=6656 Signed-off-by: Christoph Heiss --- asciidoc/pve-docs.css | 3 ++- asciidoc/pve-html.conf | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/asciidoc/pve-docs.css b/asciidoc/pve-docs.css index a35f762..f584b16 100644 --- a/asciidoc/pve-docs.css +++ b/asciidoc/pve-docs.css @@ -89,7 +89,8 @@ h2:hover > a.headerlink, h3:hover > a.headerlink, h4:hover > a.headerlink, h5:hover > a.headerlink, -h6:hover > a.headerlink { +h6:hover > a.headerlink, +div[class="paragraph"][id]:hover a.headerlink { visibility: visible; } diff --git a/asciidoc/pve-html.conf b/asciidoc/pve-html.conf index f42accd..8c28c01 100644 --- a/asciidoc/pve-html.conf +++ b/asciidoc/pve-html.conf @@ -308,9 +308,12 @@ endif::deprecated-quotes[] {thumbnail#}{float@right: style="padding\: 0 0 0 10px;float\:right;"} {thumbnail#}{float%} style="padding: 0 0 0 10px;float:right;" {thumbnail#}> -{title?
{title}
}

+{title?

{title}
} +

| -

+{id? } +

+ [admonitionparagraph] template::[admonitionblock] -- 2.50.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel