Skip to content

Commit

Permalink
Replace Google Analytics with GoatCounter (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt authored Dec 22, 2023
1 parent c57e6f7 commit 2b6442a
Show file tree
Hide file tree
Showing 5 changed files with 399 additions and 372 deletions.
6 changes: 5 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
'myst_nb',
'sphinx_design',
'sphinx_copybutton',
'nbsite.analytics',
]

# Turn off myst-nb execute (should not be required, but who knows!)
Expand All @@ -71,6 +72,10 @@
'amsmath',
]

nbsite_analytics = {
'goatcounter_holoviz': True,
}

PROLOG_TEMPLATE = """
.. grid:: 1 1 1 2
:outline:
Expand Down Expand Up @@ -247,7 +252,6 @@ def gallery_spec(name):
"secondary_sidebar_items": [
"page-toc",
],
"analytics": {"google_analytics_id": "UA-154795830-9"},
}

def setup(app):
Expand Down
Loading

0 comments on commit 2b6442a

Please sign in to comment.