You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For several projects, I've noticed a problem in the HTML output of functions that have a parameter with a default value that is a negative number. In the rendered HTML, there is a spurious space between the minus sign and the first digit. A typical example is axis=-1 being rendered as axis=- 1. This issue was originally raised with SciPy.
I wasn't able to find an existing issue for this here or in the Sphinx issues.
I don't know which versions of Sphinx were used in all those projects, so I don't know if the problem still exists in the latest version of Sphinx. Also, it looks like all those projects except Jax use the PyData Sphinx theme, and Jax uses the book theme which, according to @choldgraf, inherits from the pydata them, so it is possible that the problem is with the pydata theme.
I originally created a Sphinx issue. I'll close that, and reopen it if it turns out the issue is in Sphinx and not in the pydata theme.
The text was updated successfully, but these errors were encountered:
For several projects, I've noticed a problem in the HTML output of functions that have a parameter with a default value that is a negative number. In the rendered HTML, there is a spurious space between the minus sign and the first digit. A typical example is
axis=-1
being rendered asaxis=- 1
. This issue was originally raised with SciPy.Here are links to examples in several projects:
SciPy:
see
f_min
.see
lb
.NumPy:
Pandas:
Matplotlib:
Jax:
I wasn't able to find an existing issue for this here or in the Sphinx issues.
I don't know which versions of Sphinx were used in all those projects, so I don't know if the problem still exists in the latest version of Sphinx. Also, it looks like all those projects except Jax use the PyData Sphinx theme, and Jax uses the
book
theme which, according to @choldgraf, inherits from the pydata them, so it is possible that the problem is with the pydata theme.I originally created a Sphinx issue. I'll close that, and reopen it if it turns out the issue is in Sphinx and not in the pydata theme.
The text was updated successfully, but these errors were encountered: