You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: conf.py
+20-3Lines changed: 20 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -126,9 +126,8 @@ def get_version():
126
126
# documentation.
127
127
#
128
128
html_theme_options= {
129
-
'prev_next_buttons_location': 'both',
130
-
'analytics_id': 'G-QLSP3FJWGT'
131
-
}
129
+
'prev_next_buttons_location': 'both'
130
+
}
132
131
133
132
# Add any paths that contain custom static files (such as style sheets) here,
134
133
# relative to this directory. They are copied after the builtin static files,
@@ -259,6 +258,21 @@ def get_version():
259
258
importrecommonmark
260
259
fromrecommonmark.transformimportAutoStructify
261
260
261
+
# -- Set up Google Analytics
262
+
# -- using approach at https://stackoverflow.com/questions/9444342/adding-a-javascript-script-tag-some-place-so-that-it-works-for-every-file-in-sph/41885884#41885884
263
+
264
+
GA_SETUP_JS="""
265
+
<!-- Global site tag (gtag.js) - Google Analytics -->
0 commit comments