From e4780e09bd584c6102121781faaf140f2678ce5e Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 18 Nov 2022 03:03:10 -0500 Subject: [PATCH] Backport PR #24495: Update adding of google analytics key for docs --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 5aa58a3aca5a..58fe68a30e5f 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -387,7 +387,7 @@ def js_tag_with_cache_busting(js): } include_analytics = is_release_build if include_analytics: - html_theme_options["google_analytics_id"] = "UA-55954603-1" + html_theme_options["analytics"] = {"google_analytics_id": "UA-55954603-1"} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files,