Skip to content

Commit

Permalink
Merge pull request #802 from henrypinkard/main
Browse files Browse the repository at this point in the history
fix analytics
  • Loading branch information
henrypinkard authored Nov 18, 2024
2 parents c68499c + 25f2e69 commit b64042f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ nbsphinx
pygments
ipykernel
sphinx_rtd_theme
docstring-inheritance
docstring-inheritance
sphinxcontrib.googleanalytics
7 changes: 6 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "nbsphinx"]
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "nbsphinx", "sphinxcontrib.googleanalytics"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down Expand Up @@ -73,3 +73,8 @@

# Prevent nbsphinx from executing the notebooks
nbsphinx_execute = 'never'



googleanalytics_id = 'G-8MC4VCD0JR' # Replace with your actual GA4 measurement ID
googleanalytics_enabled = True

0 comments on commit b64042f

Please sign in to comment.