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.

![Screenshot from 2024-08-23
23-23-05](https://github.com/user-attachments/assets/38c92ef7-1f5e-40eb-8ea4-7024c8180bc4)

![Screenshot from 2024-08-23
23-23-31](https://github.com/user-attachments/assets/940dc7d5-22a8-4cd8-b54a-d56542d4345c)

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:
Mathieu Kniewallner 2024-08-27 13:05:14 +02:00 committed by GitHub
parent 6a988aca55
commit fd17f6d902
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 69 additions and 48 deletions

View file

@ -18,7 +18,7 @@ all members.
If a `pyproject.toml` file is found, uv will read configuration from the `[tool.uv.pip]` table. For
example, to set a persistent index URL, add the following to a `pyproject.toml`:
```toml title="project.toml"
```toml title="pyproject.toml"
[tool.uv.pip]
index-url = "https://test.pypi.org/simple"
```