Skip to content
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

Add instructions for virtual environments #157

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Pennycook
Copy link
Contributor

Previously, we just linked to the documentation for "virtual environments".

Users have several options for creating these, and providing configuration commands that can be copied-and-pasted into a terminal may improve the out-of-box experience.

The changes in this commit add instructions for venv and uv. Each option is displayed as a separate tab, so it should be straightforward to add more options in the future.

Related issues

Closes #151.

Proposed changes

  • Add sphinx_inline_tabs extension to the documentation, to enable tabbed code blocks.
  • Explain why we recommend virtual environments.
  • Use a tabbed block to show how to set up a virtual environment with venv and uv.

Previously, we just linked to the documentation for "virtual environments".

Users have several options for creating these, and providing configuration
commands that can be copied-and-pasted into a terminal may improve the
out-of-box experience.

The changes in this commit add instructions for venv and uv. Each option is
displayed as a separate tab, so it should be straightforward to add more
options in the future.

Signed-off-by: John Pennycook <[email protected]>
@Pennycook Pennycook added documentation Improvements or additions to documentation ux Issues and PRs pertaining to user experience labels Jan 24, 2025
@Pennycook Pennycook requested a review from laserkelvin January 24, 2025 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation ux Issues and PRs pertaining to user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document uv for "improved" OOB UX
2 participants