Fix depth of settings headers (#5103)

Closes https://github.com/astral-sh/uv/issues/5092.
This commit is contained in:
Charlie Marsh
2024-07-16 10:00:03 -04:00
committed by GitHub
parent f992532f78
commit 6d0e6eea6f
4 changed files with 20 additions and 14 deletions
+12 -9
View File
@@ -1,5 +1,5 @@
### Global
##### [`index-url`](#index-url) {: #index-url }
## Global
#### [`index-url`](#index-url) {: #index-url }
The URL of the Python package index (by default: <https://pypi.org/simple>).
@@ -30,7 +30,7 @@ The index provided by this setting is given lower priority than any indexes spec
---
##### [`managed`](#managed) {: #managed }
#### [`managed`](#managed) {: #managed }
Whether the project is managed by `uv`. If `false`, `uv` will ignore the project when
`uv run` is invoked.
@@ -56,11 +56,14 @@ Whether the project is managed by `uv`. If `false`, `uv` will ignore the project
---
#### `pip`
## `pip`
A `[tool.uv.pip]` section.
Settings that are specific to the `uv pip` command-line interface.
##### [`no-header`](#pip_no-header) {: #pip_no-header }
These values will be ignored when running commands outside the `uv pip` namespace (e.g.,
`uv lock`, `uvx`).
#### [`no-header`](#pip_no-header) {: #pip_no-header }
<span id="no-header"></span>
Exclude the comment header at the top of output file generated by `uv pip compile`.
@@ -86,9 +89,9 @@ Exclude the comment header at the top of output file generated by `uv pip compil
---
#### `workspace`
## `workspace`
##### [`exclude`](#workspace_exclude) {: #workspace_exclude }
#### [`exclude`](#workspace_exclude) {: #workspace_exclude }
<span id="exclude"></span>
Packages to exclude as workspace members. If a package matches both `members` and
@@ -119,7 +122,7 @@ For more information on the glob syntax, refer to the [`glob` documentation](htt
---
##### [`members`](#workspace_members) {: #workspace_members }
#### [`members`](#workspace_members) {: #workspace_members }
<span id="members"></span>
Packages to include as workspace members.