From: Peter Krempa Date: Wed, 7 Feb 2024 16:30:55 +0000 (+0100) Subject: docs: xsl: Properly propagate 'href_base' as XSL template parameter X-Git-Tag: v10.1.0-rc1~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=334858bd4049e95caa9908c709e7048dc249b3ff;p=thirdparty%2Flibvirt.git docs: xsl: Properly propagate 'href_base' as XSL template parameter Propagate it as a parameter both from site.xsl and from newapi.xsl, the latter of which declared it as a variable. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/docs/html/meson.build b/docs/html/meson.build index e2758ed177..abb4fcf72a 100644 --- a/docs/html/meson.build +++ b/docs/html/meson.build @@ -27,6 +27,7 @@ index_api_gen = custom_target( xsltproc_prog, '--nonet', '-o', docs_builddir, '--stringparam', 'builddir', meson.project_build_root(), '--stringparam', 'timestamp', docs_timestamp, + '--stringparam', 'href_base', '../', '@INPUT@', ], install: true, @@ -53,6 +54,7 @@ foreach name : [ 'admin', 'lxc', 'qemu' ] xsltproc_prog, '--nonet', '-o', docs_builddir, '--stringparam', 'builddir', meson.project_build_root(), '--stringparam', 'timestamp', docs_timestamp, + '--stringparam', 'href_base', '../', '@INPUT@', ], install: true, diff --git a/docs/newapi.xsl b/docs/newapi.xsl index 19a440bb09..ebe7fdedd7 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -24,7 +24,6 @@ html - ../ @@ -816,6 +815,7 @@ encoding="UTF-8"> + diff --git a/docs/page.xsl b/docs/page.xsl index e2f0092ae9..5d55fac43f 100644 --- a/docs/page.xsl +++ b/docs/page.xsl @@ -17,6 +17,7 @@ + <!DOCTYPE html>