GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — devhelp documentation doesn't build with sphinx 7.2.6 · Issue #120150 · python/cpython

devhelp documentation doesn't build with sphinx 7.2.6 #120150

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
devhelp documentation doesn't build with sphinx 7.2.6#120150
Copy link
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided

Description

@danigm
danigm
opened on Jun 6, 2024
Issue body actions

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

Activity

  1. danigm
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    on Jun 6, 2024
  2. hugovk commented on Jun 6, 2024

    @hugovk
    hugovk
    on Jun 6, 2024
    Member
    More actions

    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:

    • https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-root_doc

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

    • https://www.sphinx-doc.org/en/master/internals/contributing.html#bug-reports-and-feature-requests
  3. hugovk
    added
    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
    on Jun 6, 2024
  4. picnixz commented on Jun 6, 2024

    @picnixz
    picnixz
    on Jun 6, 2024
    Member
    More actions

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

    Reacted by Hugo van Kemenade and An Long
  5. hugovk
    closed this as not plannedon Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirDocumentation in the Doc dirpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.