Skip to content

Commit 65105a9

Browse files
committed
analytics on docs website
Signed-off-by: Francis Williams <francis@fwilliams.info>
1 parent 29fc8a6 commit 65105a9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@
2525
# Add any Sphinx extension module names here, as strings. They can be
2626
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2727
# ones.
28-
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx.ext.napoleon", "myst_parser"]
28+
extensions = [
29+
"sphinx.ext.autodoc",
30+
"sphinx.ext.viewcode",
31+
"sphinx.ext.napoleon",
32+
"myst_parser",
33+
]
2934

3035
myst_enable_extensions = [
3136
"amsmath",
@@ -65,6 +70,7 @@
6570
# a list of builtin themes.
6671
#
6772
html_theme = "sphinx_rtd_theme"
73+
html_theme_options = {"analytics_id": "G-60P7VJJ09C"} # Google Analytics ID
6874

6975
# Add any paths that contain custom static files (such as style sheets) here,
7076
# relative to this directory. They are copied after the builtin static files,

0 commit comments

Comments
 (0)