summaryrefslogtreecommitdiff
path: root/tests/test_pycode_parser.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-06-13 22:22:15 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-06-14 00:03:08 +0900
commit7b8b3de9d1c8ee042929d0b3b5d873e58ca29415 (patch)
treeb2afeecd86a1a3aa34935c241fadaa34c8aebe65 /tests/test_pycode_parser.py
parente7e92d31544b9e6e3b1ecf0e203b95f5a454d525 (diff)
downloadsphinx-git-7b8b3de9d1c8ee042929d0b3b5d873e58ca29415.tar.gz
Fix #9330: versionchanged causes error during pdf build
The versionchanged directive breaks doctree if its contents start with non-paragraph element (ex. lists, tables, and so on). It causes build error in LaTeX. This inserts a paragraph if the first child of the contents is not a paragraph not to break doctree.
Diffstat (limited to 'tests/test_pycode_parser.py')
0 files changed, 0 insertions, 0 deletions