-
Notifications
You must be signed in to change notification settings - Fork 6
Ci: Use sphinx from pip #58
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
Conversation
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
WalkthroughThe pull request modifies two GitHub Actions workflow files related to documentation: Changes
Possibly related PRs
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.github/workflows/docs-build.yml (1)
44-44: Consider adding error handling for the docs build step.While version setup has error handling, the
make docscommand could benefit from similar treatment.- make docs + make docs || exit 1.github/workflows/docs-upload.yml (1)
54-59: Consider maintaining consistency between workflows.While these changes match the docs-build.yml improvements, consider adding the same error handling improvements (
set -eux) to docs-build.yml for consistency.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.github/workflows/docs-build.yml(1 hunks).github/workflows/docs-upload.yml(1 hunks)
🔇 Additional comments (3)
.github/workflows/docs-build.yml (1)
39-42: LGTM! Clear separation of dependency installation steps.The explicit pip upgrade and version constraint for sphinx are good practices. This ensures consistent builds with up-to-date package management tools.
.github/workflows/docs-upload.yml (2)
47-48: Great addition of strict error handling!The
set -euxaddition improves debugging capabilities and ensures strict error handling.
51-51: Good improvement using tee for version file writing.Using
teeprovides better visibility of the version being written to the file.
Take recommendations from coderabbit to accoiunt: