-
Notifications
You must be signed in to change notification settings - Fork 37
ci: disable strict mode in mkdocs build workflow #427
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
ci: disable strict mode in mkdocs build workflow #427
Conversation
Remove --strict flag from mkdocs build to allow documentation to build with warnings. This provides a better developer experience by not blocking deployments on non-critical documentation issues. Warnings will still be visible in build logs for review, but won't prevent documentation from being published. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Claude Code ReviewSummaryPR #427 removes the Issues by Severity🟡 Major Issues1. Quality Regression Risk - Missing Strict Mode Location: Issue: Removing
Impact: This contradicts the project's high standards documented in CLAUDE.md and the docs/README.md emphasis on quality. Context: PR #425 just fixed 13 warnings to achieve clean builds with
Recommendation:
From my analysis:
Proper fix: # Create placeholder files for missing documentation
touch docs/user-guide/amber-interactive.md
touch docs/user-guide/amber-background-agent.md
touch docs/user-guide/amber-troubleshooting.md
# Add minimal content to prevent warnings
echo '# Amber Interactive Mode\n\nDocumentation coming soon.' > docs/user-guide/amber-interactive.mdOption B: Remove missing pages from 2. Inconsistent with Project Standards Location: CLAUDE.md:193-210, docs/README.md:59-67 Issue: The codebase emphasizes:
Removing strict mode silently violates these documented standards without updating the documentation or ADRs. Recommendation: If disabling strict mode is truly necessary, update:
🔵 Minor Issues1. Incomplete Problem Analysis The PR description states:
Issue: This suggests incomplete .gitignore configuration or local-only files. The proper fix is:
2. Missing Validation in PR The PR doesn't demonstrate:
Positive Highlights✅ Clear Problem Statement - PR description clearly explains the blocking issue and impact ✅ Immediate Unblock - Allows documentation deployments to proceed while team addresses warnings ✅ Related Context - Links to PRs #425, #426 showing the history of the issue ✅ Simple Change - One-line change minimizes risk of introducing bugs ✅ Proper Commit Message - Follows conventional commits standard ( RecommendationsImmediate Actions (Before Merge)Priority 1: Fix the Root Cause Instead Do NOT merge this PR as-is. Instead:
Priority 2: If Removing Strict Mode is Truly Necessary If there's a compelling reason to disable strict mode (not evident from PR description):
Follow-up Actions
Final Verdict❌ RECOMMEND: DO NOT MERGE (Without Root Cause Fix) This PR treats a symptom (warnings blocking deployment) rather than the disease (missing documentation files). The proper fix is:
Alternative Approach:
The platform has excellent documentation standards. Don't compromise them for a 5-minute fix that should have been the original solution. 🔍 View AI decision process (logs available for 90 days) 📋 View memory system files loaded (click to expand)What Amber Loaded for Code ReviewAmber automatically loaded these repository standards from the memory system:
Impact: This review used your repository's specific code quality standards, security patterns, and best practices from the memory system (PRs #359, #360) - not just generic code review guidelines. |
Summary
Removes the
--strictflag from the mkdocs build command to allow documentation to build and deploy even with warnings.Problem
The current workflow uses
mkdocs build --strict, which fails the entire deployment if there are any warnings. This has been blocking documentation deployments due to:Changes
Before:
After:
Impact
✅ Documentation builds successfully - Warnings logged but don't block deployment
✅ Better DX - Contributors can iterate on docs without being blocked by missing cross-references
✅ Still visible - Warnings appear in build logs for review
✅ Gradual improvement - Team can fix warnings over time without blocking progress
Verification
The workflow will build and deploy documentation with warnings visible in logs, allowing the team to address them incrementally.
Related Issues
🤖 Generated with Claude Code