aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-04-12 14:58:49 -0400
committerDavid Robillard <d@drobilla.net>2021-04-12 14:58:49 -0400
commita056cdb4629d09c5ddf02f15594d329744c79d44 (patch)
treea160a47d575f119804957550401509f16a21ac75 /scripts
parent73b5eedcc99e5a3ebc682f17f8de4ce0baeeeb6e (diff)
downloadserd-a056cdb4629d09c5ddf02f15594d329744c79d44.tar.gz
serd-a056cdb4629d09c5ddf02f15594d329744c79d44.tar.bz2
serd-a056cdb4629d09c5ddf02f15594d329744c79d44.zip
dox_to_sphinx.py: Support emphasis
Diffstat (limited to 'scripts')
-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 5ecbaa5c..de56510c 100755
--- a/scripts/dox_to_sphinx.py
+++ b/scripts/dox_to_sphinx.py
@@ -257,6 +257,9 @@ def dox_to_rst(index, lang, node):
return " " + markup.strip()
+ if node.tag == "emphasis":
+ return "*%s*" % plain_text(node)
+
if node.tag == "lsquo":
return "‘"