From nobody Fri Dec 12 14:07:30 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1763973404; cv=none; d=zohomail.com; s=zohoarc; b=Qr8/nggIDvj5++5JSesvPvUU7pzR/nvu5107wF96KfhnHiAza4C5vRzyaJdDCZPjlFneRefK0ssipGGemeyBRB+fuvQB7UDmE14yn1U4oY7n4tbzQ24JEPR8hJrzVjDhEbOOlmBD0eWOvQ/hQRjfTPlo/H4cGWkO/dtMRThLxEY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1763973404; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=qaXF5In5N7493DildT4d+psgsNi97/ufV08mbovyUfY=; b=ZeQLMLc+nOat4studbACEepKf5EL+6S7brfY3MKDvWw9wThZ4d3onjYdfP9r9Nasdp2A/8zIekjBT4WLXBTdpRMuziMuu9e3uLesPhCCNwW7m4q4juONcvZ6T0JMWVZCsSbDDaQvE7d2RyXe4qLkrqqiCRlXxqKUZLfanSFXftM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1763973404069294.5644487273538; Mon, 24 Nov 2025 00:36:44 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 1106B41A8C; Mon, 24 Nov 2025 03:36:42 -0500 (EST) Received: from [172.19.199.65] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 495A2448B4; Mon, 24 Nov 2025 03:29:59 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 5186C4452E; Mon, 24 Nov 2025 03:29:48 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id CFB5F441C2 for ; Mon, 24 Nov 2025 03:29:39 -0500 (EST) Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-691-SV4JW09BMemJKPEt-KoenA-1; Mon, 24 Nov 2025 03:29:37 -0500 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 9EA751800107 for ; Mon, 24 Nov 2025 08:29:36 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.10]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id EA2E63003761 for ; Mon, 24 Nov 2025 08:29:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1763972979; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qaXF5In5N7493DildT4d+psgsNi97/ufV08mbovyUfY=; b=iGOTYlsP577ppOmkuST/G8kbAl3R3SSzTem+SqJ0N70MRTKLRKv69GBWlCV+tCEz039P0D aQloAe7URwqfT29J13HO1Itsl2Kj4wmR7Idy/2sAUYxeUgALOUol4AoYFT3iCOPp7EwkAb 7Bh9zJmhg2I1MJ5k1U6ecpBVGZJGpDI= X-MC-Unique: SV4JW09BMemJKPEt-KoenA-1 X-Mimecast-MFC-AGG-ID: SV4JW09BMemJKPEt-KoenA_1763972976 To: devel@lists.libvirt.org Subject: [PATCH 4/4] docs: page.xsl: Convert repository edit URI into a parameter Date: Mon, 24 Nov 2025 09:29:29 +0100 Message-ID: <8fab3a96b491877f2b84329f5a8d9cf69aab92a6.1763972180.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: b93cpbxc6qJIViS_D7b1_RXGKYDnizzCJH_KDbWPtUU_1763972976 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: M6Z6ZT35BGKRRLYDN4NIPMYX5QEYMRNV X-Message-ID-Hash: M6Z6ZT35BGKRRLYDN4NIPMYX5QEYMRNV X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Peter Krempa via Devel Reply-To: Peter Krempa X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1763973405466019200 Content-Type: text/plain; charset="utf-8" From: Peter Krempa Allow other sub-projects using the XSL template without modification. Signed-off-by: Peter Krempa --- docs/go/meson.build | 1 + docs/html/meson.build | 1 + docs/kbase/internals/meson.build | 1 + docs/kbase/meson.build | 1 + docs/logos/meson.build | 1 + docs/manpages/meson.build | 1 + docs/meson.build | 1 + docs/page.xsl | 5 +++-- docs/site.xsl | 1 + 9 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/go/meson.build b/docs/go/meson.build index 102516a6cc..35f7d41f30 100644 --- a/docs/go/meson.build +++ b/docs/go/meson.build @@ -35,6 +35,7 @@ foreach data : html_xslt_gen '--stringparam', 'timestamp', docs_timestamp, '--stringparam', 'link_href_base', data.get('href_base', ''), '--stringparam', 'asset_href_base', data.get('href_base', ''), + '--stringparam', 'edit_href_base', 'https://gitlab.com/libvirt/libvi= rt/-/blob/master/', '--nonet', site_xsl, '@INPUT@', diff --git a/docs/html/meson.build b/docs/html/meson.build index c6f1478c78..d9a763f011 100644 --- a/docs/html/meson.build +++ b/docs/html/meson.build @@ -103,6 +103,7 @@ foreach data : html_xslt_gen '--stringparam', 'timestamp', docs_timestamp, '--stringparam', 'link_href_base', data.get('href_base', ''), '--stringparam', 'asset_href_base', data.get('href_base', ''), + '--stringparam', 'edit_href_base', 'https://gitlab.com/libvirt/libvi= rt/-/blob/master/', '--nonet', site_xsl, '@INPUT@', diff --git a/docs/kbase/internals/meson.build b/docs/kbase/internals/meson.= build index 1d637e0455..3340ac411f 100644 --- a/docs/kbase/internals/meson.build +++ b/docs/kbase/internals/meson.build @@ -44,6 +44,7 @@ foreach data : html_xslt_gen '--stringparam', 'timestamp', docs_timestamp, '--stringparam', 'link_href_base', data.get('href_base', ''), '--stringparam', 'asset_href_base', data.get('href_base', ''), + '--stringparam', 'edit_href_base', 'https://gitlab.com/libvirt/libvi= rt/-/blob/master/', '--nonet', site_xsl, '@INPUT@', diff --git a/docs/kbase/meson.build b/docs/kbase/meson.build index 90cdbe8a23..030511c626 100644 --- a/docs/kbase/meson.build +++ b/docs/kbase/meson.build @@ -55,6 +55,7 @@ foreach data : html_xslt_gen '--stringparam', 'timestamp', docs_timestamp, '--stringparam', 'link_href_base', data.get('href_base', ''), '--stringparam', 'asset_href_base', data.get('href_base', ''), + '--stringparam', 'edit_href_base', 'https://gitlab.com/libvirt/libvi= rt/-/blob/master/', '--nonet', site_xsl, '@INPUT@', diff --git a/docs/logos/meson.build b/docs/logos/meson.build index dec544fa67..a7f683cb74 100644 --- a/docs/logos/meson.build +++ b/docs/logos/meson.build @@ -64,6 +64,7 @@ foreach data : html_xslt_gen '--stringparam', 'timestamp', docs_timestamp, '--stringparam', 'link_href_base', data.get('href_base', ''), '--stringparam', 'asset_href_base', data.get('href_base', ''), + '--stringparam', 'edit_href_base', 'https://gitlab.com/libvirt/libvi= rt/-/blob/master/', '--nonet', site_xsl, '@INPUT@', diff --git a/docs/manpages/meson.build b/docs/manpages/meson.build index 72c8c0461d..6504e68a71 100644 --- a/docs/manpages/meson.build +++ b/docs/manpages/meson.build @@ -154,6 +154,7 @@ foreach data : html_xslt_gen '--stringparam', 'timestamp', docs_timestamp, '--stringparam', 'link_href_base', data.get('href_base', ''), '--stringparam', 'asset_href_base', data.get('href_base', ''), + '--stringparam', 'edit_href_base', 'https://gitlab.com/libvirt/libvi= rt/-/blob/master/', '--nonet', site_xsl, '@INPUT@', diff --git a/docs/meson.build b/docs/meson.build index 651b1d91c6..21e0b19c25 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -303,6 +303,7 @@ foreach data : html_xslt_gen '--stringparam', 'timestamp', docs_timestamp, '--stringparam', 'link_href_base', data.get('href_base', ''), '--stringparam', 'asset_href_base', data.get('href_base', ''), + '--stringparam', 'edit_href_base', 'https://gitlab.com/libvirt/libvi= rt/-/blob/master/', '--nonet', site_xsl, '@INPUT@', diff --git a/docs/page.xsl b/docs/page.xsl index 71c7cfba9d..1997bb3ec2 100644 --- a/docs/page.xsl +++ b/docs/page.xsl @@ -19,6 +19,7 @@ + <!DOCTYPE html> @@ -105,11 +106,11 @@
  • serverfault
  • - + diff --git a/docs/site.xsl b/docs/site.xsl index 13b720bd40..c65a315593 100644 --- a/docs/site.xsl +++ b/docs/site.xsl @@ -30,6 +30,7 @@ + --=20 2.51.1