Doctree validation: New configuration setting "validate".
commite6eb1e7bbfcc883f76bdd2f899dce7037dbc96bb
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Mon, 6 May 2024 12:41:07 +0000 (6 12:41 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Mon, 6 May 2024 12:41:07 +0000 (6 12:41 +0000)
treed5366a94393438367e9d263a144bb50500e05e90
parent0ada598e59fa8576d8eeb7b4ff38fe4d16fe4fd5
Doctree validation: New configuration setting "validate".

New parser configuration setting "validate".

If True, the parser calls `document.validate()` in `finish_parse()`.

Useful for testing/debugging purposes and with the upcoming
"Docutils XML" parser.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@9690 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/docs/user/config.txt
docutils/docutils/parsers/__init__.py
docutils/test/data/help/docutils.txt
docutils/test/data/help/rst2html.txt
docutils/test/data/help/rst2latex.txt