Skip to content

Commit

Permalink
Fixing relative links in docs (python-poetry#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayyarv authored and sdispater committed Oct 8, 2018
1 parent 230f7da commit 07e71ab
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/docs/basic-usage.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Basic usage

For the basic usage introduction we will be installing `pendulum`, a datetime library.
If you have not yet installed Poetry, refer to the [Introduction](/) chapter.
If you have not yet installed Poetry, refer to the [Introduction](/docs/) chapter.

## Project setup

Expand Down Expand Up @@ -69,7 +69,7 @@ It will automatically find a suitable version constraint.
In our example, we are requesting the `pendulum` package with the version constraint `^1.4`.
This means any version greater or equal to 1.4.0 and less than 2.0.0 (`>=1.4.0 <2.0.0`).

Please read [versions](/versions/) for more in-depth information on versions, how versions relate to each other, and on version constraints.
Please read [versions](/docs/versions/) for more in-depth information on versions, how versions relate to each other, and on version constraints.


!!!note
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ poetry config [options] [setting-key] [setting-value1] ... [setting-valueN]
````

`setting-key` is a configuration option name and `setting-value1` is a configuration value.
See [Configuration](/configuration/) for all available settings.
See [Configuration](/docs/configuration/) for all available settings.

### Options

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Configuration

Poetry can be configured via the `config` command ([see more about its usage here](/cli/#config))
Poetry can be configured via the `config` command ([see more about its usage here](/docs/cli/#config))
or directly in the `config.toml` file that will be automatically be created when you first run that command.
This file can typically be found in one of the following directories:

Expand Down Expand Up @@ -33,4 +33,4 @@ Defaults to one of the following directories:

### `repositories.<name>`: string

Set a new alternative repository. See [Repositories](/repositories/) for more information.
Set a new alternative repository. See [Repositories](/docs/repositories/) for more information.
6 changes: 3 additions & 3 deletions docs/docs/libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ While Poetry does not enforce any convention regarding package versioning,
it **strongly** recommends to follow [semantic versioning](https://semver.org).

This has many advantages for the end users and allows them to set appropriate
[version constraints](/versions/).
[version constraints](/docs/versions/).

## Lock file

Expand Down Expand Up @@ -54,7 +54,7 @@ poetry publish
```

This will package and publish the library to PyPI, at the condition that you are a registered user
and you have [configured your credentials](/repositories/#adding-credentials) properly.
and you have [configured your credentials](/docs/repositories/#adding-credentials) properly.

!!!note

Expand All @@ -73,7 +73,7 @@ Sometimes, you may want to keep your library private but also being accessible t
In this case, you will need to use a private repository.

In order to publish to a private repository, you will need to add it to your
global list of repositories. See [Adding a repository](/repositories/#adding-a-repository)
global list of repositories. See [Adding a repository](/docs/repositories/#adding-a-repository)
for more information.

Once this is done, you can actually publish to it like so:
Expand Down

0 comments on commit 07e71ab

Please sign in to comment.