Skip to content

Commit 0d02784

Browse files
Merge pull request #6189 from continuedev/bdougie/posthog-docusaurus
adds posthog-docusaurus
2 parents ca14742 + d6b0755 commit 0d02784

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

docs/docusaurus.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,14 @@ const config = {
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
{

docs/package-lock.json

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

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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"

0 commit comments

Comments
 (0)