From 80cf25d6a80f19e5a0fd04ea594e2f377a2a46c6 Mon Sep 17 00:00:00 2001 From: Michael Grubb Date: Tue, 10 Sep 2024 09:40:55 -0500 Subject: [PATCH] docs(python): make the display_mode default agree with code Also adds the `environment` mode to the list of acceptable values. --- website/docs/segments/languages/python.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/segments/languages/python.mdx b/website/docs/segments/languages/python.mdx index 2d78dc82..59302983 100644 --- a/website/docs/segments/languages/python.mdx +++ b/website/docs/segments/languages/python.mdx @@ -33,7 +33,7 @@ import Config from "@site/src/components/Config.js"; | `display_default` | `boolean` | `true` | show the name of the virtualenv when it's default (`system`, `base`) or not | | `fetch_version` | `boolean` | `true` | fetch the python version | | `missing_command_text` | `string` | | text to display when the command is missing | -| `display_mode` | `string` | `context` | | +| `display_mode` | `string` | `environment` | | | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `*.py, *.ipynb, pyproject.toml, venv.bak` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate |