-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
More concise uv example #11946
base: main
Are you sure you want to change the base?
More concise uv example #11946
Conversation
This provides a more succinct uv example using `uv sync`
html: | ||
- uv run sphinx-build -T -b html docs $READTHEDOCS_OUTPUT/html | ||
|
||
MkDocs projects could use ``NO_COLOR=1 uv run mkdocs build --strict --site-dir $READTHEDOCS_OUTPUT/html`` instead. |
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.
Seems this is removing the build step completely?
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.
It's no longer overriding the build step because it doesn't need to, since uv
is installing things in the regular RTD virtualenv. Here's a screenshot of a real run of this (from canonical/starbase#330):
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.
And the full build log: starbase-build-log.txt
This provides a more succinct uv example using
uv sync
. It also has the benefit of not requiring overriding of anybuild
steps.📚 Documentation previews 📚
docs
): https://docs--11946.org.readthedocs.build/en/11946/dev
): https://dev--11946.org.readthedocs.build/en/11946/