Skip to content

Commit

Permalink
Set up Google Analytics (#630)
Browse files Browse the repository at this point in the history
* Set up Google Analytics

Try to use extension published by sphinx-contrib

* Apply suggestions from code review

---------

Co-authored-by: Christian Trott <crtrott@sandia.gov>
  • Loading branch information
dalg24 and crtrott authored Feb 17, 2025
1 parent 757c295 commit 8dd8f7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions build_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ furo==2022.6.4.1
myst-parser==0.18.0
sphinx-copybutton==0.5.0
sphinx-design==0.5.0
sphinxcontrib-googleanalytics==0.4
m2r2==0.3.2
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"sphinx.ext.intersphinx",
"sphinx_copybutton",
"sphinx_design",
"sphinxcontrib.googleanalytics",
"cppkokkos"]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -72,6 +73,8 @@
'.md': 'markdown',
}

googleanalytics_id = 'G-33GFEQPTMT'

myst_heading_anchors = 4

myst_enable_extensions = [
Expand Down

0 comments on commit 8dd8f7e

Please sign in to comment.