Fix pip config docstring to render correctly in docs

This commit is contained in:
Devesh Kumar Singh 2020-04-18 01:03:19 +05:30
parent 9a91f451cf
commit 18fd161c44
2 changed files with 8 additions and 6 deletions

1
news/8072.doc Normal file
View File

@ -0,0 +1 @@
Fix pip config docstring so that the subcommands render correctly in the docs

View File

@ -19,15 +19,16 @@ logger = logging.getLogger(__name__)
class ConfigurationCommand(Command):
"""Manage local and global configuration.
"""
Manage local and global configuration.
Subcommands:
list: List the active configuration (or from the file specified)
edit: Edit the configuration file in an editor
get: Get the value associated with name
set: Set the name=value
unset: Unset the value associated with name
- list: List the active configuration (or from the file specified)
- edit: Edit the configuration file in an editor
- get: Get the value associated with name
- set: Set the name=value
- unset: Unset the value associated with name
If none of --user, --global and --site are passed, a virtual
environment configuration file is used if one is active and the file