From d21f85c5a29ab157054aa4ebb661ffa909dd0b40 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Thu, 18 Dec 2025 21:34:49 +0000 Subject: [PATCH] Don't include Plausible in download copies --- build_docs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_docs.py b/build_docs.py index 973c9a0..83247ae 100755 --- a/build_docs.py +++ b/build_docs.py @@ -1009,6 +1009,8 @@ def main() -> int: if args.select_output is None: return build_docs_with_lock(args, "build_docs.lock") if args.select_output == "no-html": + # Disable Plausible analytics for download copies + os.environ.pop("PYTHON_DOCS_ENABLE_ANALYTICS", None) return build_docs_with_lock(args, "build_docs_archives.lock") if args.select_output == "only-html": return build_docs_with_lock(args, "build_docs_html.lock")