Skip to content

Commit dbcb915

Browse files
committed
test adding posthog
1 parent 17c3fc9 commit dbcb915

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

docusaurus.config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,16 @@ const config = {
117117
},
118118
}),
119119

120-
plugins: [require.resolve('docusaurus-lunr-search')],
120+
plugins: [
121+
require.resolve('docusaurus-lunr-search'),
122+
[
123+
"posthog-docusaurus",
124+
{
125+
apiKey: "phc_b1Vwdj977Eg3n1KKP69WoUpx1frnW3bhycCJ5ftjkDI",
126+
appUrl: "https://eu.i.posthog.com",
127+
},
128+
],
129+
],
121130
};
122131

123132
module.exports = config;

package-lock.json

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@mdx-js/react": "^1.6.22",
2020
"clsx": "^1.2.1",
2121
"docusaurus-lunr-search": "^2.3.2",
22+
"posthog-docusaurus": "^2.0.1",
2223
"prism-react-renderer": "^1.3.5",
2324
"react": "^17.0.2",
2425
"react-dom": "^17.0.2"

0 commit comments

Comments
 (0)