Skip to content

Commit fb6df4f

Browse files
authored
Merge pull request #263 from kafitzgerald/analytics
reconfigure analytics
2 parents eec6637 + 124a3a7 commit fb6df4f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

build_envs/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dependencies:
1515
- setuptools
1616
- sphinx
1717
- sphinx_rtd_theme
18+
- sphinxcontrib-googleanalytics
1819
- wrapt
1920
- xarray
2021
- python-build

doc/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,12 @@ def mock_asscalar(val):
7575
'sphinx.ext.napoleon',
7676
'sphinx.ext.autosummary',
7777
'sphinx.ext.intersphinx',
78-
'sphinx.ext.mathjax'
78+
'sphinx.ext.mathjax',
79+
'sphinxcontrib.googleanalytics'
7980
]
8081

82+
googleanalytics_id = 'G-6WSSSBGTH8'
83+
8184
#mathjax_path = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML"
8285

8386
intersphinx_mapping = {

0 commit comments

Comments
 (0)