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
BuildEnvironment.docname
can now be None
#11620
Comments
@lucyleeow thanks for this report, do you have a reproducer for this at all please? Thanks, |
Not a bug in Sphinx, will report upstream (sphinx-gallery/sphinx-gallery#1175) |
Thank you @AA-Turner for looking into this! Would it be appropriate to update the docs so |
.. and remove the substring check for the file. this fixes the problem with sphinx 7.2.2 that the "docname" can be None (see sphinx-doc/sphinx#11620)
I seem to have the same problem in my I think at least the |
I have added a reproducer: #11648 We can continue discussion there. |
Closing as fixed by #11657. |
sphinx/sphinx/environment/__init__.py
Line 545 in ed84d63
sphinx/sphinx/io.py
Line 114 in da9f8a5
Ref: sphinx-gallery/sphinx-gallery#1175
Originally posted by @lucyleeow in #11605 (comment)
The text was updated successfully, but these errors were encountered: