diff options
author | David Robillard <d@drobilla.net> | 2021-04-12 14:58:49 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-04-12 14:58:49 -0400 |
commit | a056cdb4629d09c5ddf02f15594d329744c79d44 (patch) | |
tree | a160a47d575f119804957550401509f16a21ac75 /scripts | |
parent | 73b5eedcc99e5a3ebc682f17f8de4ce0baeeeb6e (diff) | |
download | serd-a056cdb4629d09c5ddf02f15594d329744c79d44.tar.gz serd-a056cdb4629d09c5ddf02f15594d329744c79d44.tar.bz2 serd-a056cdb4629d09c5ddf02f15594d329744c79d44.zip |
dox_to_sphinx.py: Support emphasis
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 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 "‘" |