Skip to content

Fix Windows documentation build error handling 🤖🤖 - #15475

Open
2Zest wants to merge 1 commit into
ipython:mainfrom
2Zest:fix/windows-docs-build-errorlevel
Open

2Zest wants to merge 1 commit into
ipython:mainfrom
2Zest:fix/windows-docs-build-errorlevel

Conversation

@2Zest

@2Zest 2Zest commented Nov 8, 2026

Copy link
Copy Markdown

Fixes #15455

Summary

  • propagate failures from the documentation generators and Sphinx on Windows
  • keep incremental builds working when the target output directory already exists
  • return a non-zero exit status for failed builds and missing Sphinx

Validation

  • ran docs/make.cmd html twice with a compiled stub that returns success for the generator and exit code 7 for Sphinx
  • verified both invocations returned exit code 1 and did not report a successful build

🤖🤖

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows documentation build reports success after Sphinx fails

1 participant