summaryrefslogtreecommitdiff
path: root/doc/development/tutorials/examples/autodoc_intenum.py
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2021-10-22 17:32:15 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2021-10-22 17:48:21 -0400
commitac6935bc443016384935137a7b769f558cdfc7bd (patch)
tree6508b3a02b9cf9226664db7f1be44bd008224c76 /doc/development/tutorials/examples/autodoc_intenum.py
parentcf96c93cf17c2659f1947201a684bb8e2b6c6250 (diff)
downloadsphinx-git-ac6935bc443016384935137a7b769f558cdfc7bd.tar.gz
Fix selection of parameter names in HTML theme
Parameters are written in HTML as (leaving out some internal classes): ``` <strong>name</strong><span class="classifier"><a><code><span>TypeName</span></code></a></span> ``` but in rendered form there's a colon between the name and type. This colon is inserted virtually using CSS, but since it doesn't exist, the browser thinks both sides are part of the same word. Styling the virtual text as inline block makes it be treated as a break, but also makes it apply vertical margins, so we need to set those to zero again. See https://github.com/matplotlib/matplotlib/issues/21432
Diffstat (limited to 'doc/development/tutorials/examples/autodoc_intenum.py')
0 files changed, 0 insertions, 0 deletions