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

Fix POETRY_REPOSITORIES_ variable docs #8492

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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