Closed
Description
When using sphinx-autodoc-typehints, text between single backticks in parameter descriptions gets rendered as <cite/>
nodes, i.e. using docutils’ default title-reference
role instead of the role we configured.
I don’t know exactly why, but removing s-a-t from the plugin list fixes this, and you’re e.g. using a plain RstParser()
instance in several places which has that behavior. Maybe that parser replaces the role and doesn’t clean up properly after itself?
Check out sphinx.testing.restructuredtext:parse
for a parser setup that sets up all the Sphinx stuff.
Metadata
Metadata
Assignees
Labels
No labels