diff --git a/build_requirements.txt b/build_requirements.txt index 9f6b1fa45..e268d3da9 100644 --- a/build_requirements.txt +++ b/build_requirements.txt @@ -3,4 +3,5 @@ furo==2022.6.4.1 myst-parser==0.18.0 sphinx-copybutton==0.5.0 sphinx-design==0.5.0 +sphinxcontrib-googleanalytics==0.4 m2r2==0.3.2 diff --git a/docs/source/conf.py b/docs/source/conf.py index cfc39b7e7..43a1cd7b7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -39,6 +39,7 @@ "sphinx.ext.intersphinx", "sphinx_copybutton", "sphinx_design", + "sphinxcontrib.googleanalytics", "cppkokkos"] # Add any paths that contain templates here, relative to this directory. @@ -72,6 +73,8 @@ '.md': 'markdown', } +googleanalytics_id = 'G-33GFEQPTMT' + myst_heading_anchors = 4 myst_enable_extensions = [