]> git.ipfire.org Git - thirdparty/libvirt.git/commit
docs: Simplify passing of 'href_base' XSL variable
authorPeter Krempa <pkrempa@redhat.com>
Tue, 5 Apr 2022 14:52:57 +0000 (16:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Apr 2022 10:53:32 +0000 (12:53 +0200)
commit98ffd820607fa999ce00166420bd1dc220ba108d
treeff40c63d6ece5856156f483d32c284cc2ad658ff
parentc72249674de21f47c1aa73c2149441d72f0131b5
docs: Simplify passing of 'href_base' XSL variable

Historically we had two top level XSL files for top level and nested
documents which only differ in what they pass for 'href_base' to the
main 'page.xsl' file.

We can instead pass the variable as argument from the build system so
that we have just one XSL file and also allow for more nested document
trees in the future.

The '404' page is special even with the current XSL way so we add a
special case for it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/go/meson.build
docs/internals/meson.build
docs/kbase/meson.build
docs/manpages/meson.build
docs/meson.build
docs/site.xsl
docs/subsite.xsl [deleted file]