Commit 07e71abb by Varun Nayyar Committed by Sébastien Eustace

Fixing relative links in docs (#440)

parent 230f7da7
# Basic usage # Basic usage
For the basic usage introduction we will be installing `pendulum`, a datetime library. 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 ## Project setup
...@@ -69,7 +69,7 @@ It will automatically find a suitable version constraint. ...@@ -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`. 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`). 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 !!!note
......
...@@ -278,7 +278,7 @@ poetry config [options] [setting-key] [setting-value1] ... [setting-valueN] ...@@ -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. `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 ### Options
......
# Configuration # 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. 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: This file can typically be found in one of the following directories:
...@@ -33,4 +33,4 @@ Defaults to one of the following directories: ...@@ -33,4 +33,4 @@ Defaults to one of the following directories:
### `repositories.<name>`: string ### `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.
...@@ -14,7 +14,7 @@ While Poetry does not enforce any convention regarding package versioning, ...@@ -14,7 +14,7 @@ While Poetry does not enforce any convention regarding package versioning,
it **strongly** recommends to follow [semantic versioning](https://semver.org). it **strongly** recommends to follow [semantic versioning](https://semver.org).
This has many advantages for the end users and allows them to set appropriate This has many advantages for the end users and allows them to set appropriate
[version constraints](/versions/). [version constraints](/docs/versions/).
## Lock file ## Lock file
...@@ -54,7 +54,7 @@ poetry publish ...@@ -54,7 +54,7 @@ poetry publish
``` ```
This will package and publish the library to PyPI, at the condition that you are a registered user 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 !!!note
...@@ -73,7 +73,7 @@ Sometimes, you may want to keep your library private but also being accessible t ...@@ -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 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 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. for more information.
Once this is done, you can actually publish to it like so: Once this is done, you can actually publish to it like so:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment