[PATCH 0/2] docs: Fix migration.html generation and report such errors next time

Peter Krempa posted 2 patches 2 weeks ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1602512803.git.pkrempa@redhat.com
docs/meson.build          | 39 +++++++++++++++++++++++++--------------
docs/migration.html.in    |  1 +
scripts/meson-html-gen.py | 37 -------------------------------------
3 files changed, 26 insertions(+), 51 deletions(-)
delete mode 100755 scripts/meson-html-gen.py

[PATCH 0/2] docs: Fix migration.html generation and report such errors next time

Posted by Peter Krempa 2 weeks ago
Invert the order of the patches to see the error:

FAILED: docs/migration.xslout.html
/usr/bin/meson --internal exe --capture docs/migration.xslout.html -- /bin/xsltproc --stringparam pagesrc docs/migration.html.in --stringparam builddir /home/pipo/build/libvirt/gcc --stringparam timestamp 'Mon Oct 12 14:03:50 2020 UTC' --nonet ../../../libvirt/docs/site.xsl ../../../libvirt/docs/migration.html.in
../../../libvirt/docs/migration.html.in:664: parser error : Opening and ending tag mismatch: p line 649 and body
  </body>
         ^
../../../libvirt/docs/migration.html.in:665: parser error : Opening and ending tag mismatch: body line 649 and html
</html>
       ^
../../../libvirt/docs/migration.html.in:666: parser error : EndTag: '</' not found

^
unable to parse ../../../libvirt/docs/migration.html.in
[132/262] Generating 'docs/ci.xslout.html.p/ci.html.in'.
ninja: build stopped: subcommand failed.


Peter Krempa (2):
  docs: migration: Fix syntax
  docs: meson.build: Generate HTML files directly by meson

 docs/meson.build          | 39 +++++++++++++++++++++++++--------------
 docs/migration.html.in    |  1 +
 scripts/meson-html-gen.py | 37 -------------------------------------
 3 files changed, 26 insertions(+), 51 deletions(-)
 delete mode 100755 scripts/meson-html-gen.py

-- 
2.26.2