We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cddf28 commit ee32ed1Copy full SHA for ee32ed1
1 file changed
docs/source/conf.py
@@ -3,6 +3,8 @@
3
# For the full list of built-in configuration values, see the documentation:
4
# https://www.sphinx-doc.org/en/master/usage/configuration.html
5
6
+import os
7
+
8
from datetime import datetime
9
from importlib.metadata import version
10
@@ -20,6 +22,8 @@
20
22
# The short X.Y.Z version.
21
23
version = Version(release).base_version
24
25
+googleanalytics_id = os.environ.get("GOOGLE_ANALYTICS_ID")
26
27
# -- General configuration ---------------------------------------------------
28
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
29
autodoc_mock_imports = [
@@ -42,6 +46,7 @@
42
46
"sphinx.ext.autosummary",
43
47
"sphinx.ext.intersphinx",
44
48
"sphinx.ext.todo",
49
+ "sphinxcontrib.google_analytics",
45
50
]
51
nitpicky = True
52
0 commit comments