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>