]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: css: Hide redundant 'Contents:' line in table of contents of RST docs
authorPeter Krempa <pkrempa@redhat.com>
Mon, 3 Aug 2020 06:24:30 +0000 (08:24 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 3 Aug 2020 16:41:11 +0000 (18:41 +0200)
'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>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/libvirt.css

index 6b1e86c7d82bddfa43ba5a7c9ab63b9fc092fa9d..4dc9d3ac769edb6d907b3ee050778dfe4906e37b 100644 (file)
@@ -597,3 +597,7 @@ th p, td p {
     margin-top: 2em;
     margin-bottom: 2em;
 }
+
+#contents p.topic-title {
+    display: none;
+}