Skip to content

Commit 225d220

Browse files
committed
Removes outdated PostHog documentation sections
Cleans up the documentation by removing irrelevant Next Steps related to PostHog instrumentation. This improves clarity for users by eliminating confusion over previously suggested steps no longer applicable. Updates content to streamline the user experience in the Astro and Next.js documentation sources.
1 parent 694a398 commit 225d220

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/astro/docs.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,5 @@ import PostHogLayout from '../layouts/PostHogLayout.astro';
9999
<h1>Welcome to Astro</h1>
100100
</PostHogLayout>
101101
--------------------------------------------------
102-
103-
==============================
104-
NEXT STEPS
105-
==============================
106-
- Call \`posthog.identify()\` after user sign-in.
107-
- Fire custom events with \`posthog.capture()\`.
108-
- Gate features via \`posthog.isFeatureEnabled()\`.
109-
- Enable session recordings and heatmaps under “Recordings” in PostHog.
110102
`;
111103
}

src/nextjs/docs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export const getModernNextjsDocs = ({
246246
}) => {
247247
return `
248248
==============================
249-
FILE: instrumentation-client.${language === 'typescript' ? 'ts' : 'js'}
249+
FILE: instrumentation-client.${language === 'typescript' ? 'ts' : 'js'}
250250
LOCATION: in the root of the application or inside an src folder.
251251
==============================
252252
Changes:

0 commit comments

Comments
 (0)