]> git.ipfire.org Git - thirdparty/libvirt.git/commit
docs: manpages: Strip table of contents from manpages
authorPeter Krempa <pkrempa@redhat.com>
Wed, 23 Sep 2020 13:13:57 +0000 (15:13 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 23 Sep 2020 14:20:36 +0000 (16:20 +0200)
commitd6ac9b22d39d7114281518160c2f47a969293544
tree5cb1c62ab57d7d52ddc40a40c9cfd84278530bd4
parenta037ae86149eb5dd95055b3956ab443fced5f4b8
docs: manpages: Strip table of contents from manpages

After meson conversion the man pages started to contain the table of
contents.

In autoconf we prevented this by a 'grep -v ::contents' in the command
building the manpages.

A more cultured solution is to strip out the 'contents' docutils element
directly.

Reported-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/manpages/meson.build