Render CLI option relationships in docs#3518
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
✅ Files skipped from review due to trivial changes (5)
🚧 Files skipped from review as they are similar to previous changes (2)
WalkthroughThis PR adds option-relationship rendering to generated CLI docs, verifies the new output in tests, and updates several CLI reference pages with explicit relationships between options. ChangesOption Relationships Documentation Generation
Estimated code review effort: 2 (Simple) | ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
📚 Docs Preview: https://pr-3518.datamodel-code-generator.pages.dev |
Merging this PR will not alter performance
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3518 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 155 155
Lines 34076 34076
Branches 3992 3992
=========================================
Hits 34076 34076
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
8cf7199 to
7586da9
Compare
Breaking Change AnalysisResult: No breaking changes detected Reasoning: PR #3518 is documentation-only tooling. The diff changes: (1) generated docs pages under docs/cli-reference/ that add "Option relationships:" sections describing existing implies/requires/conflicts behavior, (2) scripts/build_cli_docs.py which is a docs-generation helper (not part of the shipped package/API), adding internal helper functions like _format_option_link and _generate_option_relationships, and (3) tests in tests/cli_doc/. No CLI options, Python API symbols, enum values, defaults, or generated-code output are added or removed. The only removed lines in the diff are a refactor of internal docs-build helper logic replaced with a new helper call. None of the six breaking-change categories apply. This analysis was performed by Claude Code Action |
|
🎉 Released in 0.67.0 This PR is now available in the latest release. See the release notes for details. |
Summary by CodeRabbit
New Features
Documentation
Bug Fixes
Tests