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
We have recently introduced a gallery of examples from sphinx-gallery in the torchvision docs
Normally, there should be a link on every example saying "Download Jupyter notebook:..." which is automatically generated by sphinx-gallery.
Unfortunately the pytorch_sphinx_theme seems to re-style those links with custom code but this only works for the tutorial repo. In the other repos, the links are deactivated: you can see that there's no link in this example, yet the html code exists, it's just being hidden by some CSS.
Unfortunately my web dev skills are very weak so I'm unable to address this myself, but it would be very valuable to our users to have those links to the notebooks in the examples.
We have recently introduced a gallery of examples from sphinx-gallery in the torchvision docs
Normally, there should be a link on every example saying "Download Jupyter notebook:..." which is automatically generated by sphinx-gallery.
Unfortunately the pytorch_sphinx_theme seems to re-style those links with custom code but this only works for the
tutorial
repo. In the other repos, the links are deactivated: you can see that there's no link in this example, yet the html code exists, it's just being hidden by some CSS.I believe that the offending lines are these
pytorch_sphinx_theme/pytorch_sphinx_theme/static/css/theme.css
Line 10956 in 0efb4da
with possibly these ones too:
pytorch_sphinx_theme/js/theme.js
Line 245 in 0efb4da
and
https://github.com/pytorch/pytorch_sphinx_theme/blob/master/pytorch_sphinx_theme/layout.html#L275
Unfortunately my web dev skills are very weak so I'm unable to address this myself, but it would be very valuable to our users to have those links to the notebooks in the examples.
CC @brianjo @holly1238
The text was updated successfully, but these errors were encountered: