Skip to content

Commit

Permalink
[1.2] fix(docs): broken link in dependency-specification (#6876)
Browse files Browse the repository at this point in the history
Backport 5c578a2 from #6842.

Co-authored-by: Bjorn Neergaard <[email protected]>
  • Loading branch information
poetry-bot[bot] and neersighted authored Oct 24, 2022
1 parent 1aad242 commit 507f506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dependency-specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ for extras in your project refer to [`extras`]({{< relref "pyproject#extras" >}}

## `source` dependencies

To depend on a package from an [alternate repository]({{< relref "repositories/#install-dependencies-from-a-private-repository" >}}),
To depend on a package from an [alternate repository]({{< relref "repositories#installing-from-private-package-sources" >}}),
you can use the `source` property:

```toml
Expand All @@ -267,7 +267,7 @@ poetry add my-cool-package --source foo
```

{{% note %}}
In this example, we expect `foo` to be configured correctly. See [using a private repository](repositories.md#using-a-private-repository)
In this example, we expect `foo` to be configured correctly. See [using a private repository]({{< relref "repositories#installing-from-private-package-sources" >}})
for further information.
{{% /note %}}

Expand Down

0 comments on commit 507f506

Please sign in to comment.