[PATCH 1/9] docs: Fix title of 'docs' page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 docs/docs.html.in | 1 +
 docs/libvirt.css  | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/docs/docs.html.in b/docs/docs.html.in
index 428a2ac974..920a773d79 100644
--- a/docs/docs.html.in
+++ b/docs/docs.html.in
@@ -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>

diff --git a/docs/libvirt.css b/docs/libvirt.css
index 4dc9d3ac76..d323b6ec0f 100644
--- a/docs/libvirt.css
+++ b/docs/libvirt.css
@@ -427,6 +427,10 @@ body.index h1 {
     height: 300px;
 }

+body.docs h1 {
+    visibility: hidden;
+}
+
 br.clear {
     clear: both;
     border: 0px;
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux