Skip to content

Commit 5552754

Browse files
authored
chore(docs): enable posthog (#769)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent b7e7b28 commit 5552754

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

docs/docusaurus.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ const config = {
2323
},
2424

2525
plugins: [
26+
[
27+
"posthog-docusaurus",
28+
{
29+
apiKey: "phc_TWWW19kEiD6sEejlHKWcICQ5Vc06vZUTYia8WdPB0A0",
30+
appUrl: "https://crb.chainloop.dev",
31+
ui_host: "https://us.i.posthog.com",
32+
enableInDevelopment: false,
33+
},
34+
],
2635
[
2736
"@docusaurus/plugin-ideal-image",
2837
{

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@mdx-js/react": "^1.6.22",
2121
"clsx": "^1.2.1",
2222
"docusaurus-plugin-remote-content": "^4.0.0",
23+
"posthog-docusaurus": "^2.0.0",
2324
"prism-react-renderer": "^1.3.5",
2425
"raw-loader": "^4.0.2",
2526
"react": "^18.2.0",

docs/yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7402,6 +7402,11 @@ postcss@^8.4.21, postcss@^8.4.26, postcss@^8.4.33:
74027402
picocolors "^1.0.0"
74037403
source-map-js "^1.0.2"
74047404

7405+
posthog-docusaurus@^2.0.0:
7406+
version "2.0.0"
7407+
resolved "https://registry.yarnpkg.com/posthog-docusaurus/-/posthog-docusaurus-2.0.0.tgz#8b8ac890a2d780c8097a1a9766a3d24d2a1f1177"
7408+
integrity sha512-nDSTIhmH/Fexv347Gx6wBCE97Z+fZTj0p/gqVYAaolMwSdVuzwyFWcFA+aW9uzA5Y5hjzRwwKJJOrIv8smkYkA==
7409+
74057410
prebuild-install@^7.1.1:
74067411
version "7.1.1"
74077412
resolved "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz"

0 commit comments

Comments
 (0)