Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

virchan
Copy link
Member

@virchan virchan commented Sep 9, 2025

Reference Issues/PRs

Fixes #22232.

What does this implement/fix? Explain your changes.

Fixes a Sphinx build failure on native Windows by excluding the sphinx.ext.linkcode extension.

On Windows, drive-letter paths (e.g., C: vs D:) can cause errors when Sphinx relativises file path:

 sphinx.errors.ExtensionError: Handler <function doctree_read at 0x0000025FC98B51C0> for event 'doctree-read' threw an exception (exception: path is on mount 'C:', start on mount 'D:')

Linux and macOS remain unaffected.

Any other comments?

N/A

Copy link

github-actions bot commented Sep 9, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 8537e05. Link to the linter CI: here

@virchan virchan marked this pull request as ready for review September 9, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sphinx docs don't build correctly on Windows 10
1 participant