[libvirt PATCH] meson: Ask rst2html to strip comments

Michal Prívozník mprivozn at redhat.com
Mon Jun 7 14:39:15 UTC 2021


On 6/4/21 2:31 PM, Andrea Bolognani wrote:
> They can be problematic: in particular, the rst files generated
> by keycodemapdb's keymap-gen contain things like
> 
>   To re-generate, run:
>     keymap-gen --lang=rst --title=virkeycode-osx [...]
> 
> which result in xsltproc later choking with
> 
>   [1/12] Generating virkeyname-osx.html with a meson_exe.py custom command
>   FAILED: docs/manpages/virkeyname-osx.html
>   /usr/bin/meson --internal exe --capture docs/manpages/virkeyname-osx.html \
>     /usr/bin/xsltproc [...] --nonet ../docs/subsite.xsl docs/manpages/virkeyname-osx.html.in
>   docs/manpages/virkeyname-osx.html.in:17: parser error : Double hyphen within comment:
>     keymap-gen --lang=rst --title=virkeyname-osx [...]

I don't see this error. Do I need some very fresh version of something?

$ rst2html.py --version
rst2html.py (Docutils 0.16 [release], Python 3.9.4, on linux)

Michal




More information about the libvir-list mailing list