From 36ba1e272ed07c47464afb0fa080b44539773e9a Mon Sep 17 00:00:00 2001 From: Mohan R Date: Thu, 26 May 2022 14:58:03 +0530 Subject: [PATCH] docs: removed unwanted variables in configurations.md default directories documentation --- docs/configuration.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 68cd4f85fd9..cec4a06ca56 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -15,26 +15,26 @@ Poetry uses these following default directories ## Config Directory -- Linux: `$XDG_CONFIG_HOME/$appname` or `~/.config/$appname` -- Windows:`%USERPROFILE%\AppData\Local\$appauthor\$appname` (not roaming) or`%USERPROFILE%\AppData\Roaming\$appauthor\$appname` (roaming) -- MacOS: `~/Library/Preferences/$appname/$version` +- Linux: `$XDG_CONFIG_HOME/pypoetry` or `~/.config/pypoetry` +- Windows: `%APPDATA%\pypoetry` +- MacOS: `~/Library/Preferences/pypoetry` You can override this Config directory by setting `POETRY_CONFIG_DIR` environment variable ## Data Directory -- Linux: `$XDG_DATA_HOME/$appname` or `~/.local/share/$appname` -- Windows:`%USERPROFILE%\AppData\Local\$appauthor\$appname` (not roaming) or`%USERPROFILE%\AppData\Roaming\$appauthor\$appname` (roaming) -- MacOS: `~/Library/Application Support/$appname/$version` +- Linux: `$XDG_DATA_HOME/pypoetry` or `~/.local/share/pypoetry` +- Windows: `%APPDATA%\pypoetry` +- MacOS: `~/Library/Application Support/pypoetry` You can override this Data Directory by setting `POETRY_DATA_DIR` environment variable. If `POETRY_HOME` environment variable is available, then `POETRY_HOME` will be given higher priority. ## Cache Directory -- Linux: `$XDG_CACHE_HOME/$appname` or `~/.cache/$appname` -- Windows:`%USERPROFILE%\AppData\Local\$appauthor\$appname\Cache\$version` -- MacOS: `~/Library/Caches/$appname/$version` +- Linux: `$XDG_CACHE_HOME/pypoetry` or `~/.cache/pypoetry` +- Windows: `%APPDATA%\pypoetry\Cache` +- MacOS: `~/Library/Caches/pypoetry` You can override this Cache directory by setting `POETRY_CACHE_DIR` environment variable