Skip to content

Commit 3088ea1

Browse files
authored
RTD: Fix GA Integration (#413)
GA was dropped from RTD in early Oct, 2024. This adds it again.
1 parent 006bf94 commit 3088ea1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ sphinx_rtd_theme>=1.1.1
1919
# reference system
2020
#sphinxcontrib-bibtex
2121
#sphinxcontrib-napoleon
22+
sphinxcontrib-googleanalytics

docs/source/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,14 @@
4747
"sphinx_copybutton",
4848
"sphinx_design",
4949
"sphinx_rtd_theme",
50+
"sphinxcontrib.googleanalytics",
5051
"breathe",
5152
]
5253

54+
# Google Analytics
55+
googleanalytics_id = "G-TSZZK2V8V4"
56+
googleanalytics_enabled = True
57+
5358
# Add any paths that contain templates here, relative to this directory.
5459
templates_path = ["_templates"]
5560

0 commit comments

Comments
 (0)