Merged
Conversation
Implements output_utils.py with extract_sphinx_complaints(), which filters WARNING/ERROR lines from Sphinx build output. Supports multiple input strings (e.g., stdout and stderr). This prepares the ground for showing only actionable lines on build failure when a --verbose flag is added. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Adds the --verbose (-V) flag to commandline_options so callers can opt into full build output; defaults to False (show only errors/warnings). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Guard build command echo and detailed error output behind --verbose flag. In non-verbose mode, show only Sphinx WARNING/ERROR lines on failure with a hint to re-run with --verbose. Extract helper functions to keep run_build_command within pylint complexity limits. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…eback In non-verbose mode, the user sees only the filtered complaints and a hint to re-run with --verbose. The Python traceback is noise in that context. Verbose mode still raises the exception for full diagnostics. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
When Sphinx reports "build finished with problems" (warnings treated as errors), show "Documentation build completed, but with problems that must be resolved." instead of "Documentation build failed." since the HTML was actually generated. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.