docs(python): correct default display mode

resolves #1690
This commit is contained in:
Jan De Dobbeleer 2022-02-04 19:12:22 +01:00 committed by Jan De Dobbeleer
parent aba4093aba
commit 40c9127951

View file

@ -36,8 +36,8 @@ or not - defaults to `true`
- display_mode: `string` - determines when the segment is displayed
- `always`: the segment is always displayed
- `files`: the segment is only displayed when `*.py`, `*.ipynb`, `pyproject.toml`, `venv.bak`, `venv`, or `.venv`
files are present (default)
- `environment`: the segment is only displayed when a virtual env is present
files are present
- `environment`: the segment is only displayed when a virtual env is present (default)
- `context`: the segment is only displayed when either `environment` or `files` is active
## Template ([info][templates])