From 56a1fadbe4ab9a1260970d58ed0b6d76440937b1 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 6 Feb 2025 10:42:51 -0800 Subject: [PATCH] RTD: Fix GA Integration GA was dropped from RTD in early Oct, 2024. This adds it again. --- Docs/requirements.txt | 1 + Docs/source/conf.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Docs/requirements.txt b/Docs/requirements.txt index 14fafe406fb..14d07e29f6e 100644 --- a/Docs/requirements.txt +++ b/Docs/requirements.txt @@ -27,5 +27,6 @@ sphinx-copybutton sphinx-design sphinx_rtd_theme>=1.1.1 sphinxcontrib-bibtex +sphinxcontrib-googleanalytics sphinxcontrib-napoleon yt # for checksumAPI diff --git a/Docs/source/conf.py b/Docs/source/conf.py index 666aaf858fa..a5fed3a4614 100644 --- a/Docs/source/conf.py +++ b/Docs/source/conf.py @@ -56,8 +56,13 @@ "sphinx_design", "breathe", "sphinxcontrib.bibtex", + "sphinxcontrib.googleanalytics", ] +# Google Analytics +googleanalytics_id = "G-QZGY5060MZ" +googleanalytics_enabled = True + # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"]