mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
9fd2e78b96
page.xsl was adding '<div id="content">' wrapper for the content picked up from the <body> element from the original input file. Optionally class="$DOCNAME" was added for some documents taken from <body>. Since docs generated from RST by docutils have a '<div class='document' id='$DOCNAME>' we actually don't need an extra wrapper for them. Additionally if we standardize on one of them we can use the same styles for both. I've picked the latter because it makes more sense to use the document name as 'id'. This patch: 1) Modifies the XSL trasformation to add the wrapper only if it's not present. 2) Modifies the XSL transformation to use 'id' for document name and class='document' for the wrapper element. 3) Changes docs.html/index.html/hvsupport.html to use 'id' instead of 'class' for document name. 4) Modifies the main stylesheet to keep styling the elements properly Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> |
||
---|---|---|
.. | ||
apibuild.py | ||
augeas-gentest.py | ||
check-aclperms.py | ||
check-aclrules.py | ||
check-driverimpls.py | ||
check-drivername.py | ||
check-file-access.py | ||
check-remote-protocol.py | ||
check-symfile.py | ||
check-symsorting.py | ||
cocci-macro-file.h | ||
dtrace2systemtap.py | ||
esx_vi_generator.py | ||
genaclperms.py | ||
genpolkit.py | ||
gensystemtap.py | ||
group-qemu-caps.py | ||
header-ifdef.py | ||
hvsupport.py | ||
hyperv_wmi_generator.py | ||
meson-dist.py | ||
meson-gen-authors.py | ||
meson-gen-def.py | ||
meson-gen-sym.py | ||
meson-install-dirs.py | ||
meson-install-symlink.py | ||
meson-install-web.py | ||
meson-python.sh | ||
meson-timestamp.py | ||
meson.build | ||
mock-noinline.py | ||
prohibit-duplicate-header.py | ||
test-wrap-argv.py |