From a056cdb4629d09c5ddf02f15594d329744c79d44 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Apr 2021 14:58:49 -0400 Subject: dox_to_sphinx.py: Support emphasis --- scripts/dox_to_sphinx.py | 3 +++ 1 file changed, 3 insertions(+) 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 "‘" -- cgit v1.2.1