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,