diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dox_to_sphinx.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/dox_to_sphinx.py b/scripts/dox_to_sphinx.py index c9d401c..f0dcd2c 100755 --- a/scripts/dox_to_sphinx.py +++ b/scripts/dox_to_sphinx.py @@ -322,6 +322,9 @@ def dox_to_rst(index, lang, node): if node.tag == "ulink": return "`%s <%s>`_" % (node.text, node.get("url")) + if node.tag == "verbatim": + return "::\n\n" + indent(plain_text(node), 1) + raise RuntimeError("Unknown documentation command: %s" % node.tag) |