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
Apologies in advance for not having a minimal example, but most of the machinery involved in building a page is above my head.
I noticed in PyVista's documentation that the versionchanged, versionadded and deprecated directives (admonitions) are rendered in boxes whose text can't be individually highlighted, and links therein can't be clicked. For instance the versionchanged admonition here:
I see the same behaviour on light and dark theme both, and the issue is confirmed at least on firefox + debian and chrome + macOS.
Digging into the source I've figured out that there's this piece of pydata-sphinx-theme.css (unminified):
If I comment out this block the admonition text becomes selectable and the link clickable, and the dim orange highlight disappears. I assume what's going on is that there's an empty something being pulled up in front of the actual text with --pst-color-info colour and 0.1 opacity, and this cover is what's messing with interaction.
I think this issue was already covered in this PR: #877.
It will be included in the next release of the theme, but for the sake of verification you can build your doc against our master branch to check if it works
Awesome, thanks for the quick reply @12rambau. I checked the first two or three pages of issues but I didn't look at PRs :) I'll build on top of your main and check.
Apologies in advance for not having a minimal example, but most of the machinery involved in building a page is above my head.
I noticed in PyVista's documentation that the
versionchanged
,versionadded
anddeprecated
directives (admonitions) are rendered in boxes whose text can't be individually highlighted, and links therein can't be clicked. For instance theversionchanged
admonition here:I see the same behaviour on light and dark theme both, and the issue is confirmed at least on firefox + debian and chrome + macOS.
Digging into the source I've figured out that there's this piece of
pydata-sphinx-theme.css
(unminified):If I comment out this block the admonition text becomes selectable and the link clickable, and the dim orange highlight disappears. I assume what's going on is that there's an empty something being pulled up in front of the actual text with
--pst-color-info
colour and0.1
opacity, and this cover is what's messing with interaction.For reference, the environment for the doc build uses among other things
The text was updated successfully, but these errors were encountered: