From 80f70c9c9a23de42cc3abfb32bbf4afa61369fd3 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 3 Aug 2020 08:24:30 +0200 Subject: [PATCH] docs: css: Hide redundant 'Contents:' line in table of contents of RST docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit '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 Reviewed-by: Ján Tomko --- 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; +}