Skip to content
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

devhelp documentation doesn't build with sphinx 7.2.6 #120150

Closed
danigm opened this issue Jun 6, 2024 · 2 comments
Closed

devhelp documentation doesn't build with sphinx 7.2.6 #120150

danigm opened this issue Jun 6, 2024 · 2 comments
Labels
docs Documentation in the Doc dir pending The issue will be closed if no feedback is provided

Comments

@danigm
Copy link

danigm commented Jun 6, 2024

Documentation

Sphinx raises an exception when trying to build the Python 3.13 documentation:

$ cd Doc
$ sphinx-build -a -b devhelp . build/devhelp
...
dumping devhelp index...
 
Exception occurred:
File "/usr/lib/python3.11/site-packages/sphinx/environment/__init__.py", line 603, in get_doctree
    with open(filename, 'rb') as f:
         ^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/abuild/rpmbuild/BUILD/Python-3.13.0b2/Doc/build/devhelp/.doctrees/index.doctree'

This is due to the removal of master_doc = 'contents' in the conf.py file done in this PR: #117853

Environment:

  • os: openSUSE Tumbleweed
  • python version: Python 3.11.9
  • sphinx: sphinx-build 7.2.6
  • sphinxcontrib-devhelp: 1.0.6
@danigm danigm added the docs Documentation in the Doc dir label Jun 6, 2024
@hugovk
Copy link
Member

hugovk commented Jun 6, 2024

Thanks for the report.

This is due to the removal of master_doc = 'contents' in the conf.py file done in this PR: #117853

It was replaced with root_doc = 'contents', which was changed in Sphinx 4.0:

This sounds like a bug with Sphinx or sphinxcontrib-devhelp, please could you report it to Sphinx?

@picnixz
Copy link
Member

picnixz commented Jun 6, 2024

Confirmed as a Sphinx issue (it's both a core Sphinx issue and a sphinxcontrib-devhelp issue)

@hugovk hugovk closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir pending The issue will be closed if no feedback is provided
Projects
None yet
Development

No branches or pull requests

3 participants