Skip to content

Commit d21f85c

Browse files
Don't include Plausible in download copies
1 parent 4becd18 commit d21f85c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build_docs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,8 @@ def main() -> int:
10091009
if args.select_output is None:
10101010
return build_docs_with_lock(args, "build_docs.lock")
10111011
if args.select_output == "no-html":
1012+
# Disable Plausible analytics for download copies
1013+
os.environ.pop("PYTHON_DOCS_ENABLE_ANALYTICS", None)
10121014
return build_docs_with_lock(args, "build_docs_archives.lock")
10131015
if args.select_output == "only-html":
10141016
return build_docs_with_lock(args, "build_docs_html.lock")

0 commit comments

Comments
 (0)