numpydoc icon indicating copy to clipboard operation
numpydoc copied to clipboard

Rendered html has unwanted italics.

Open charris opened this issue 7 years ago • 2 comments

The docstrings are italicized at readthedocs, https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard

charris avatar May 23 '18 14:05 charris

You mean strings in codeblocks are displayed with italics? This comes from pygments.css (.highlight .sd). What's wrong with it?

Or are you talking about something else?

jnothman avatar May 23 '18 14:05 jnothman

For example the docstring that begins """This is the form...""". That is not how the doctrings are supposed look, is not how the rst is rendered, and is really annoying to read.

charris avatar May 23 '18 14:05 charris