]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Fix title of 'docs' page
authorPeter Krempa <pkrempa@redhat.com>
Wed, 4 Nov 2020 13:33:21 +0000 (14:33 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Nov 2020 13:04:03 +0000 (14:04 +0100)
XSLT transformation generates the page title from the topmost <h1>
element which is not present in 'docs.html.in'. Add it and hide it in
the CSS.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/docs.html.in
docs/libvirt.css

index 428a2ac974fc26c762e346ab4dc1fe6dba6acf36..920a773d793d71236818573795657c277bd45b66 100644 (file)
@@ -2,6 +2,7 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
   <body class="docs">
+    <h1>Documentation</h1>
     <div class="panel">
       <h2>Deployment / operation</h2>
 
index 4dc9d3ac769edb6d907b3ee050778dfe4906e37b..d323b6ec0fb6ac9bd0a000d3eb98f07ba156bafc 100644 (file)
@@ -427,6 +427,10 @@ body.index h1 {
     height: 300px;
 }
 
+body.docs h1 {
+    visibility: hidden;
+}
+
 br.clear {
     clear: both;
     border: 0px;