]> xenbits.xensource.com Git - libvirt.git/commit
docs: generate permalinks correctly for rst2html output
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 11 Nov 2019 15:53:02 +0000 (15:53 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 4 Dec 2019 15:48:28 +0000 (15:48 +0000)
commita329bd0376c0125b9cdb1fba949be0a24a98464c
treeb0971a1acb8bd8476457310803e46d2e679272ec
parent8215da927a8fe69c4f98e962adc7592978c5f72c
docs: generate permalinks correctly for rst2html output

The rst2html output generates the links for headings in a slightly
different way than we do for docs written in HTML, so we must match
another scenario when generating back links.

rst2html will also use <h1> tags for both the document title and
the first level of section titles, so we must expand the matching
to allow for this too.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
docs/libvirt.css
docs/page.xsl