diff --git a/doc/conf.py b/doc/conf.py index 252b871d67c8..654040c95b1c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -407,7 +407,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,