mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-27 18:36:44 +00:00
docs: use python to highlight requirements and use more content tabs (#6549)
## Summary It appears that using `python` for code blocks containing requirements works quite well.   Also using more content tabs for cases where we need to differentiate macOS/Linux from Windows. ## Test Plan Local run of the documentation.
This commit is contained in:
parent
6a988aca55
commit
fd17f6d902
10 changed files with 69 additions and 48 deletions
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
uv installation differs depending on the platform:
|
||||
|
||||
=== "Unix"
|
||||
=== "Linux"
|
||||
|
||||
```yaml title="example.yml"
|
||||
name: Example on Unix
|
||||
name: Example on Linux
|
||||
|
||||
jobs:
|
||||
uv-example-linux:
|
||||
|
|
@ -61,10 +61,10 @@ uv installation differs depending on the platform:
|
|||
|
||||
It is considered best practice to pin to a specific uv version, e.g., with:
|
||||
|
||||
=== "Unix"
|
||||
=== "Linux"
|
||||
|
||||
```yaml title="example.yml"
|
||||
name: Example on Unix
|
||||
name: Example on Linux
|
||||
|
||||
jobs:
|
||||
uv-example-linux:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue