-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Attribute Error when running the docs #11604
Comments
Yes, also seeing this issue in other repositories! For example: |
We refactored the TocTree adapter here #11565 (which also caused some other issues e.g., pydata/pydata-sphinx-theme#1404). However, TocTree is not meant to be a public API (there is no external documentation provided), so such internal changes should not considered as breaking changes (see pydata/pydata-sphinx-theme#1404 (comment) and pydata/pydata-sphinx-theme#1404 (comment)). Now, in order to fix this, either def get_toctree_ancestors(self, docname: str) -> set[str]:
return _get_toctree_ancestors(self.env.toctree_includes, docname) What do you think @AA-Turner |
Had the same error with the docs stage in one of my (Gitlab) CI pipelines - I was leaving Sphinx unpinned, so it installed 7.2 in the runner. When I switched back to 7.1.2 the error went away. I thought this was a theme error so I posted in the pydata Sphinx theme project |
Please test with Sphinx 7.2.1. |
Describe the bug
Thanks for this great project, I have been using it a lot..
Recently switching to
sphinx==7.2.0
, I am getting anAttributeError
which was not there in the earlier version(Expecting a quick reply from you all...
How to Reproduce
These are some of the files that may be required:
Environment Information
Sphinx extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: