-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Toctree error #8070
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
Comments
I think I have a related issue, which only started occurring recently. I don't know if it's my code or if it was |
This is caused by an unpinned dependency being automatically updated. The bug has been fixed and the issue should be fixed by rebuilding your docs. For the fix see readthedocs/sphinx_rtd_theme#1114 |
Looks great now, thanks for the quick response, @Blendify! |
Hello, I want to say "everything is fine", but in my case nothing change (there is same bug like it was from the beginning of this issue)... Maybe my issue isn't connected with those fix task?
Can anybody help with that? |
It seems like older docs that are being built with and old sphinx version (1.8.5) and the theme version 0.4.3 are also affected by this bug but can't be easily patched. As a solution you can pin the latest sphinx/theme version yourself. Poke @ericholscher I am not sure what to do here. One possible solution would be to use the new sphinx version with sphinx 1.8.5 which should be fine. I am not sure why we pin a old sphinx version when the old sphinx version is also used. 0.5.2 is compatible with sphinx 1.8.5 |
Mainly for backwards compatibility, you should put the specific version of the theme and sphinx in your requirements file https://github.com/EDI-N/Docs_ua/blob/master/docs/requirements.txt |
I have conflict is caused by:
P.S. |
@EDI-N the version of the theme you need is 0.5.2, the latest version of sphinx should work as well. |
@stsewd thanks for fast response. Now everything works nice. Need to add to requirements.txt latest versions sphinx & sphinx_rtd_theme:
|
This still needs to be fixed for projects that don't specify new sphinx versions manually. |
The latest theme version is compatible with all sphinx versions. This should fix readthedocs#8070 In the future, we will want to modify the version number used for old sphinx versions once sphinx 1.x is dropped by the theme. This likely won't happen until `sphinx-rtd-theme 2.0` see readthedocs/sphinx_rtd_theme#1086 I haven't tested this yet, but in the future, this may not be needed at all as we can handle dependency versions within the theme itself.
Answering myself: no. Read The Docs installs some base dependencies, such as Since the issue here is that In Scrapy we had the added issue that we were forcing the installation of an older |
I wonder if Read The Docs should use |
New projects (projects created after Oct 20, 2020) use the latest version of sphinx and the rtd theme by default. In the future we may stop installing the theme by default, so users would need to provide their requirements explicitly (#7859). |
Force update of sphinx-rtd-theme, see readthedocs/readthedocs.org#8070 for details
There isn't much we can do here, we already recommend users to pin their dependencies. Sphinx already released a new version that pins docutils. We may stop installing some packages by default as discussed in #8103 |
Details
Expected Result
Read the Docs builds toctree (contents) in previous style (according to config).
Actual Result
Crashed toctree level structure at all pages and menu
The text was updated successfully, but these errors were encountered: