Skip to content

Commit

Permalink
Replace Google Analytics with GoatCounter (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt authored Dec 22, 2023
1 parent a654e78 commit 3e90912
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,21 @@
"copyright",
"last-updated",
],
"analytics": {"google_analytics_id": 'G-KD5GGLCB54'}
}

extensions += [ # noqa
'sphinx_copybutton',
'sphinx.ext.napoleon',
'sphinx.ext.autosummary',
'sphinx_remove_toctrees'
'sphinx_remove_toctrees',
'nbsite.analytics',
]
remove_from_toctrees = ["reference/param/generated/*"]

nbsite_analytics = {
'goatcounter_holoviz': True,
}

# Override the Sphinx default title that appends `documentation`
html_title = f'{project} v{version}'
# Format of the last updated section in the footer
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ examples = [
]
doc = [
"param[examples]",
"nbsite ==0.8.2",
"nbsite ==0.8.4",
"sphinx-remove-toctrees",
]
tests = [
Expand Down

0 comments on commit 3e90912

Please sign in to comment.