Closed
Description
Problem
Definition lists are rendered differently when defined within domain documentation.
May be loosely related to #979.
Reproducible Project
Foo
foo
*Bar*
bar
``Baz``
baz
.. py:class:: pub
Foo
foo
*Bar*
bar
``Baz``
baz
.. py:method:: qux
qux
Strangely the definition lists render differently to lower-level objects documented within the domain, are the two styles mixing? The rendering is especially awkward for literals.
I took a look at this page, however, there aren't any definition lists in that reference example. Perhaps it's an unusual thing to do.
Expected Results
I think that definition lists should render the same in both contexts.
Environment Info
- Python Version: 3.7
- Sphinx Version: 3.4.3, 5.0.1
- RTD Theme Version: 0.5.1, 1.0.0