From: Vladimír Vondruš Date: Mon, 29 Jan 2018 15:35:05 +0000 (+0100) Subject: doxygen: ignore RCS strings to avoid assertions. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=967c816969581d7971270c1f0fcc481a320ae925;p=blog.git doxygen: ignore RCS strings to avoid assertions. --- diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index 07e4b62b..a7b6168c 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -478,6 +478,9 @@ def parse_desc_internal(state: State, element: ET.Element, immediate_parent: ET. if i.attrib['kind'] == 'return': assert not out.return_value out.return_value = parse_desc(state, i) + # Ignore the RCS strings for now + elif i.attrib['kind'] == 'rcs': + logging.warning("{}: ignoring {} kind of ".format(state.current, i.attrib['kind'])) else: has_block_elements = True diff --git a/doxygen/test/contents_blocks/input.dox b/doxygen/test/contents_blocks/input.dox index 47046f5f..2f1a1e7b 100644 --- a/doxygen/test/contents_blocks/input.dox +++ b/doxygen/test/contents_blocks/input.dox @@ -76,6 +76,8 @@ is a table | *really* | yes. _This is_ inside a paragraph. +$Author: this is ignored $ + */ /** @page other Other page