Skip to content

Commit

Permalink
Fix POETRY_REPOSITORIES_ variable docs (python-poetry#8492)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamambaMan authored and MrGreenTea committed Dec 18, 2023
1 parent 063285e commit 2ba358d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -437,19 +437,21 @@ If set to `false`, Python version used during Poetry installation is used.
Format string defining the prompt to be displayed when the virtual environment is activated.
The variables `project_name` and `python_version` are available for formatting.

### `repositories.<name>`
### `repositories.<name>.url`

**Type**: `string`

**Environment Variable**: `POETRY_REPOSITORIES_<NAME>`
**Environment Variable**: `POETRY_REPOSITORIES_<NAME>_URL`

Set a new alternative repository. See [Repositories]({{< relref "repositories" >}}) for more information.
Set the repository URL for `<name>`.

### `http-basic.<name>`:
See [Publishable Repositories]({{< relref "repositories#publishable-repositories" >}}) for more information.

**Type**: `(string, string)`
### `http-basic.<name>.[username|password]`:

**Environment Variable**: `POETRY_HTTP_BASIC_<NAME>`
**Type**: `string`

**Environment Variables**: `POETRY_HTTP_BASIC_<NAME>_USERNAME`, `POETRY_HTTP_BASIC_<NAME>_PASSWORD`

Set repository credentials (`username` and `password`) for `<name>`.
See [Repositories - Configuring credentials]({{< relref "repositories#configuring-credentials" >}})
Expand Down

0 comments on commit 2ba358d

Please sign in to comment.