-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Documentation]: strange indexing of tutorials #1726
Comments
I triggered a rebuild of the docs on RTD just in case, but (not surprisingly) that did not fix the issue. Strangely, when I build the docs locally the index looks fine. My guess is that maybe something has changed in sphinx-gallery and that RTD is using a different version than what I have installed locally. In terms of code, my initial guess is that this probably due to the customization we do to sort the tutorials within each section, which is here: Lines 63 to 137 in d40dd30
The quick fix would be to simply not show the [+] for the tutorials by reducing the depth of the index. |
Ok, I just upgraded my local version of sphinx_gallery from 10.x to the latest version 13 and am seeing the same issue, i.e., this appears to be a bug in sphinx_gallery or some breaking change in the API that requires updates in our code. |
Ok, I tried with sphinx-gallery v 0.13, 0.12.2, 0.11.1, and 0.10.1. 0.10.1 works correctly and all the newer versions show the same issue, i.e., it looks something broke in 0.11. As an immediate fix, I think we can just pin the version of spinx-gallery and then investigate further whether this is something that requires a fix in sphinx-gallery or on our end. |
#1728 addresses this issue by fixing the version of sphinx-gallery to 0.10.1. I also filed an issue ticket on the sphinx-gallery repo sphinx-gallery/sphinx-gallery#1152 . Looking at the changelog for sphinx-gallery 0.11.0 it looks like they fixed a very similar issue in that release sphinx-gallery/sphinx-gallery#935 . Maybe that fix did not cover our case. |
What would you like changed or added to the documentation and why?
@oruebel do you know how this is generated?
Do you have any interest in helping write or edit the documentation?
No.
Code of Conduct
The text was updated successfully, but these errors were encountered: