diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-07 07:42:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-07 07:42:19 (GMT) |
commit | 0e6605f633f3eee6a4e4b09bbd3cfceb2d80ef48 (patch) | |
tree | e8bcbdbc4ce7fe434c476a1c2ab4f3b1308a9e16 /Doc/conf.py | |
parent | 56a7e0483436d1ebd2af97c02defe0e67c4bb495 (diff) | |
download | cpython-0e6605f633f3eee6a4e4b09bbd3cfceb2d80ef48.zip cpython-0e6605f633f3eee6a4e4b09bbd3cfceb2d80ef48.tar.gz cpython-0e6605f633f3eee6a4e4b09bbd3cfceb2d80ef48.tar.bz2 |
[3.13] Add Plausible for docs metrics (GH-119977) (#120193)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Julien Palard <julien@palard.fr>
Diffstat (limited to 'Doc/conf.py')
-rw-r--r-- | Doc/conf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/conf.py b/Doc/conf.py index 47fb96f..8a14646 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -339,7 +339,8 @@ repository_url = os.getenv("READTHEDOCS_GIT_CLONE_URL") html_context = { "is_deployment_preview": os.getenv("READTHEDOCS_VERSION_TYPE") == "external", "repository_url": repository_url.removesuffix(".git") if repository_url else None, - "pr_id": os.getenv("READTHEDOCS_VERSION") + "pr_id": os.getenv("READTHEDOCS_VERSION"), + "enable_analytics": os.getenv("PYTHON_DOCS_ENABLE_ANALYTICS"), } # This 'Last updated on:' timestamp is inserted at the bottom of every page. |