Skip to content

Commit 7159072

Browse files
authored
docs: Replace plausible by posthog (#2279)
Closes #2278.
1 parent 9d4ce2d commit 7159072

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

sphinx/_static/js/posthog.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sphinx/conf.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
html_js_files = [
7878
"js/sg_plotly_resize.js",
7979
"js/reo.js",
80+
"js/posthog.js",
8081
]
8182

8283
# list of examples in explicit order
@@ -178,14 +179,6 @@
178179
"navbar_end": ["theme-switcher", "navbar-icon-links"],
179180
}
180181

181-
# Plausible Analytics
182-
html_theme_options["analytics"] = {
183-
# The domain you'd like to use for this analytics instance
184-
"plausible_analytics_domain": domain,
185-
# The analytics script that is served by Plausible
186-
"plausible_analytics_url": "https://plausible.io/js/script.js",
187-
}
188-
189182
# Sphinx remove the sidebar from some pages
190183
html_sidebars = {
191184
"index": [],

0 commit comments

Comments
 (0)