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

[PATCH 4/7] docs: css: Hide redundant 'Contents:' line in table of contents of RST docs



'docutils' add line saying "Contents:" on top of the table of contents.
We don't have that in other documents nor it's really necessary. Hide it
in the stylesheet as we can select it easily.

Signed-off-by: Peter Krempa <pkrempa redhat com>
---
 docs/libvirt.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/libvirt.css b/docs/libvirt.css
index 6b1e86c7d8..4dc9d3ac76 100644
--- a/docs/libvirt.css
+++ b/docs/libvirt.css
@@ -597,3 +597,7 @@ th p, td p {
     margin-top: 2em;
     margin-bottom: 2em;
 }
+
+#contents p.topic-title {
+    display: none;
+}
-- 
2.26.2


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