Skip to content

Commit 660193a

Browse files
committed
Documentation: Updates Google Analytics ID.
1 parent a300efd commit 660193a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/conf.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2020
# ones.
2121
# extensions = ["sphinx.ext.autodoc", "sphinx.ext.coverage", "sphinx.ext.ifconfig"]
22-
extensions = ['sphinx_copybutton','notfound.extension']
22+
extensions = ['sphinx_copybutton','notfound.extension','sphinxcontrib.googleanalytics']
2323
# rst2pdf is not available on OpenBSD.
2424
if hasattr(os, "uname") and os.uname()[0] != "OpenBSD":
2525
extensions.append("rst2pdf.pdfbuilder")
@@ -30,6 +30,9 @@
3030
# The suffix of source filenames.
3131
source_suffix = ".rst"
3232

33+
# from: pip install sphinxcontrib-googleanalytics
34+
googleanalytics_id = "G-JZTN4VTL9M"
35+
3336
# The encoding of source files.
3437
# source_encoding = 'utf-8-sig'
3538

docs/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ furo
66
readthedocs-sphinx-search==0.3.2
77
sphinx_copybutton
88
sphinx-notfound-page
9+
sphinxcontrib-googleanalytics

0 commit comments

Comments
 (0)