Elffuss BraidHub

kikocis/continue public

Merge pull request #6189 from continuedev/bdougie/posthog-docusaurus

adds posthog-docusaurus
Changeset05a393b2fd5565e878dcc9b35feb29eaf12c44e7a3473a03e55d45c3881cee61
AuthorPatrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-06-18 15:39 -07:00
CommitterGitHub <noreply@github.com> · 2025-06-18 15:39 -07:00
Parents66e4dd9ea0d7, e6d74c5524d8

Browse the files at this changeset

3 files changed

modified docs/docusaurus.config.js +8 −0
@@ -203,6 +203,14 @@
203203 },
204204 }),
205205 plugins: [
206+ [
207+ "posthog-docusaurus",
208+ {
209+ apiKey: process.env.POSTHOG_API_KEY || "DEV",
210+ appUrl: "https://us.i.posthog.com",
211+ enableInDevelopment: false,
212+ },
213+ ],
206214 [
207215 "@docusaurus/plugin-client-redirects",
208216 {
modified docs/package-lock.json +0 −0

Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.

modified docs/package.json +1 −0
@@ -22,6 +22,7 @@
2222 "@docusaurus/preset-classic": "^3.7.0",
2323 "@mdx-js/react": "^3.0.0",
2424 "clsx": "^2.1.0",
25+ "posthog-docusaurus": "^2.0.4",
2526 "prism-react-renderer": "^2.3.1",
2627 "react": "^18.2.0",
2728 "react-dom": "^18.2.0"