Skip to content

Commit

Permalink
Documentation: Updates Google Analytics ID.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamie-lemon committed Nov 13, 2024
1 parent a300efd commit 660193a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
# extensions = ["sphinx.ext.autodoc", "sphinx.ext.coverage", "sphinx.ext.ifconfig"]
extensions = ['sphinx_copybutton','notfound.extension']
extensions = ['sphinx_copybutton','notfound.extension','sphinxcontrib.googleanalytics']
# rst2pdf is not available on OpenBSD.
if hasattr(os, "uname") and os.uname()[0] != "OpenBSD":
extensions.append("rst2pdf.pdfbuilder")
Expand All @@ -30,6 +30,9 @@
# The suffix of source filenames.
source_suffix = ".rst"

# from: pip install sphinxcontrib-googleanalytics
googleanalytics_id = "G-JZTN4VTL9M"

# The encoding of source files.
# source_encoding = 'utf-8-sig'

Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ furo
readthedocs-sphinx-search==0.3.2
sphinx_copybutton
sphinx-notfound-page
sphinxcontrib-googleanalytics

0 comments on commit 660193a

Please sign in to comment.