summaryrefslogtreecommitdiffstats
path: root/scripts/dox_to_sphinx.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dox_to_sphinx.py')
-rwxr-xr-xscripts/dox_to_sphinx.py3
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)