From a2bca505872f4ebfcfc79c06b8d6b54cdb73bb40 Mon Sep 17 00:00:00 2001 From: lethosor Date: Wed, 27 Jul 2022 22:03:03 -0400 Subject: [PATCH] docs/build.py: Add support for xml and pseudoxml output formats Useful for debugging layout of generated docutils nodes --- docs/build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/build.py b/docs/build.py index 2a42d0968..582279bcb 100755 --- a/docs/build.py +++ b/docs/build.py @@ -28,6 +28,8 @@ OUTPUT_FORMATS = { 'html': SphinxOutputFormat('html', pre_args=['-b', 'html']), 'text': SphinxOutputFormat('text', pre_args=['-b', 'text']), 'pdf': SphinxOutputFormat('pdf', pre_args=['-M', 'latexpdf']), + 'xml': SphinxOutputFormat('xml', pre_args=['-b', 'xml']), + 'pseudoxml': SphinxOutputFormat('pseudoxml', pre_args=['-b', 'pseudoxml']), } def _parse_known_args(parser, source_args):