From: Peter Krempa Date: Sun, 23 Nov 2025 15:48:30 +0000 (+0100) Subject: docs: page.xsl: Convert repository edit URI into a parameter X-Git-Tag: v11.10.0-rc1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eadbb34a8fdc902af185ea6f71e1d0b1ad1c16b9;p=thirdparty%2Flibvirt.git docs: page.xsl: Convert repository edit URI into a parameter Allow other sub-projects using the XSL template without modification. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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/libvirt/-/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/libvirt/-/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/libvirt/-/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/libvirt/-/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/libvirt/-/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/libvirt/-/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/libvirt/-/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 @@ +