Skip to content

Commit da0f48e

Browse files
Revert "docs: fix deprecation of analytics in RTD"
This reverts commit 4874428. We'll stick with RTD-builtin-analytics for now.
1 parent afa63f8 commit da0f48e

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

docs/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -313,12 +313,6 @@ def setup(app):
313313
ogp_enable_meta_description = True
314314
ogp_description_length = 300
315315

316-
# sphinxcontrib.googleanalytics configuration
317-
if os.environ.get("READTHEDOCS"):
318-
extensions.append("sphinxcontrib.googleanalytics")
319-
googleanalytics_enabled = True
320-
googleanalytics_id = "G-5CGB3QTKF1"
321-
322316
## RTD sets html_baseurl, ensures we use the correct env for canonical URLs
323317
## Useful to generate correct meta tags for Open Graph
324318
## Refs: https://github.com/readthedocs/readthedocs.org/issues/10226, https://github.com/urllib3/urllib3/pull/3064

docs/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ sphinx-rtd-theme>=0.5.1
55
sphinx-rtd-dark-mode>=1.3.0
66
sphinx-tabs>=3.2.0
77
sphinx>=5.0.2
8-
sphinxcontrib-googleanalytics>=0.4
98
sphinxext-opengraph==0.9.1
109
urllib3==2.2.3

0 commit comments

Comments
 (0)