Skip to content

Commit 15fc282

Browse files
authored
fix: Docs links need to be absolute (#42604)
1 parent bf65025 commit 15fc282

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

docs/onboarding/llm-analytics/anthropic.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const AnthropicInstallation = (): JSX.Element => {
6363
These SDKs **do not** proxy your calls. They only fire off an async call to PostHog in the
6464
background to send the data. You can also use LLM analytics with other SDKs or our API, but you
6565
will need to capture the data in the right format. See the schema in the [manual capture
66-
section](/docs/llm-analytics/installation/manual-capture) for more details.
66+
section](https://posthog.com/docs/llm-analytics/installation/manual-capture) for more details.
6767
</Markdown>
6868
</CalloutBox>
6969
</Step>
@@ -187,7 +187,7 @@ export const AnthropicInstallation = (): JSX.Element => {
187187
- This also works when message streams are used (e.g. \`stream=True\` or \`client.messages.stream(...)\`).
188188
- If you want to capture LLM events anonymously, **don't** pass a distinct ID to the request.
189189
190-
See our docs on [anonymous vs identified events](/docs/data/anonymous-vs-identified-events) to learn more.
190+
See our docs on [anonymous vs identified events](https://posthog.com/docs/data/anonymous-vs-identified-events) to learn more.
191191
`}
192192
</Markdown>
193193
</Blockquote>
@@ -213,7 +213,7 @@ export const AnthropicInstallation = (): JSX.Element => {
213213
| \`$ai_output_choices\` | List of response choices from the LLM |
214214
| \`$ai_output_tokens\` | The number of tokens in the output (often found in \`response.usage\`) |
215215
| \`$ai_total_cost_usd\` | The total cost in USD (input + output) |
216-
| [[...]](/docs/llm-analytics/generations#event-properties) | See [full list](/docs/llm-analytics/generations#event-properties) of properties|
216+
| [[...]](https://posthog.com/docs/llm-analytics/generations#event-properties) | See [full list](https://posthog.com/docs/llm-analytics/generations#event-properties) of properties|
217217
`}
218218
</Markdown>
219219
)}

docs/onboarding/llm-analytics/google.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const GoogleInstallation = (): JSX.Element => {
7171
<Markdown>
7272
These SDKs **do not** proxy your calls. They only fire off an async call to PostHog in the background to send the data.
7373

74-
You can also use LLM analytics with other SDKs or our API, but you will need to capture the data in the right format. See the schema in the [manual capture section](/docs/llm-analytics/installation/manual-capture) for more details.
74+
You can also use LLM analytics with other SDKs or our API, but you will need to capture the data in the right format. See the schema in the [manual capture section](https://posthog.com/docs/llm-analytics/installation/manual-capture) for more details.
7575
</Markdown>
7676
</CalloutBox>
7777
</Step>
@@ -249,7 +249,7 @@ export const GoogleInstallation = (): JSX.Element => {
249249

250250
<Blockquote>
251251
<Markdown>
252-
**Note:** If you want to capture LLM events anonymously, **don't** pass a distinct ID to the request. See our docs on [anonymous vs identified events](/docs/data/anonymous-vs-identified-events) to learn more.
252+
**Note:** If you want to capture LLM events anonymously, **don't** pass a distinct ID to the request. See our docs on [anonymous vs identified events](https://posthog.com/docs/data/anonymous-vs-identified-events) to learn more.
253253
</Markdown>
254254
</Blockquote>
255255

@@ -274,7 +274,7 @@ export const GoogleInstallation = (): JSX.Element => {
274274
| \`$ai_output_choices\` | List of response choices from the LLM |
275275
| \`$ai_output_tokens\` | The number of tokens in the output (often found in \`response.usage\`) |
276276
| \`$ai_total_cost_usd\` | The total cost in USD (input + output) |
277-
| [[...]](/docs/llm-analytics/generations#event-properties) | See [full list](/docs/llm-analytics/generations#event-properties) of properties|
277+
| [[...]](https://posthog.com/docs/llm-analytics/generations#event-properties) | See [full list](https://posthog.com/docs/llm-analytics/generations#event-properties) of properties|
278278
`}
279279
</Markdown>
280280
)}

docs/onboarding/llm-analytics/langchain.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const LangChainInstallation = (): JSX.Element => {
7171
<Markdown>
7272
These SDKs **do not** proxy your calls. They only fire off an async call to PostHog in the background to send the data.
7373

74-
You can also use LLM analytics with other SDKs or our API, but you will need to capture the data in the right format. See the schema in the [manual capture section](/docs/llm-analytics/installation/manual-capture) for more details.
74+
You can also use LLM analytics with other SDKs or our API, but you will need to capture the data in the right format. See the schema in the [manual capture section](https://posthog.com/docs/llm-analytics/installation/manual-capture) for more details.
7575
</Markdown>
7676
</CalloutBox>
7777
</Step>
@@ -80,7 +80,7 @@ export const LangChainInstallation = (): JSX.Element => {
8080
<Markdown>
8181
Initialize PostHog with your project API key and host from [your project settings](https://app.posthog.com/settings/project), then pass it to the LangChain `CallbackHandler` wrapper.
8282

83-
Optionally, you can provide a user distinct ID, trace ID, PostHog properties, [groups](/docs/product-analytics/group-analytics), and privacy mode.
83+
Optionally, you can provide a user distinct ID, trace ID, PostHog properties, [groups](https://posthog.com/docs/product-analytics/group-analytics), and privacy mode.
8484
</Markdown>
8585

8686
<CodeBlock
@@ -139,7 +139,7 @@ export const LangChainInstallation = (): JSX.Element => {
139139

140140
<Blockquote>
141141
<Markdown>
142-
**Note:** If you want to capture LLM events anonymously, **don't** pass a distinct ID to the `CallbackHandler`. See our docs on [anonymous vs identified events](/docs/data/anonymous-vs-identified-events) to learn more.
142+
**Note:** If you want to capture LLM events anonymously, **don't** pass a distinct ID to the `CallbackHandler`. See our docs on [anonymous vs identified events](https://posthog.com/docs/data/anonymous-vs-identified-events) to learn more.
143143
</Markdown>
144144
</Blockquote>
145145
</Step>
@@ -219,7 +219,7 @@ export const LangChainInstallation = (): JSX.Element => {
219219
| \`$ai_output_choices\` | List of response choices from the LLM |
220220
| \`$ai_output_tokens\` | The number of tokens in the output (often found in \`response.usage\`) |
221221
| \`$ai_total_cost_usd\` | The total cost in USD (input + output) |
222-
| [[...]](/docs/llm-analytics/generations#event-properties) | See [full list](/docs/llm-analytics/generations#event-properties) of properties|
222+
| [[...]](https://posthog.com/docs/llm-analytics/generations#event-properties) | See [full list](https://posthog.com/docs/llm-analytics/generations#event-properties) of properties|
223223
`}
224224
</Markdown>
225225
)}

docs/onboarding/llm-analytics/litellm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export const LiteLLMInstallation = (): JSX.Element => {
148148
- To disable logging for specific requests, add \`{"no-log": true}\` to metadata.
149149
- If you want to capture LLM events anonymously, **don't** pass a \`user_id\` in metadata.
150150
151-
See our docs on [anonymous vs identified events](/docs/data/anonymous-vs-identified-events) to learn more.
151+
See our docs on [anonymous vs identified events](https://posthog.com/docs/data/anonymous-vs-identified-events) to learn more.
152152
`}
153153
</Markdown>
154154
</Blockquote>
@@ -174,7 +174,7 @@ export const LiteLLMInstallation = (): JSX.Element => {
174174
| \`$ai_output_choices\` | List of response choices from the LLM |
175175
| \`$ai_output_tokens\` | The number of tokens in the output (often found in \`response.usage\`) |
176176
| \`$ai_total_cost_usd\` | The total cost in USD (input + output) |
177-
| [[...]](/docs/llm-analytics/generations#event-properties) | See [full list](/docs/llm-analytics/generations#event-properties) of properties|
177+
| [[...]](https://posthog.com/docs/llm-analytics/generations#event-properties) | See [full list](https://posthog.com/docs/llm-analytics/generations#event-properties) of properties|
178178
`}
179179
</Markdown>
180180
)}

docs/onboarding/llm-analytics/openai.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export const OpenAIInstallation = (): JSX.Element => {
118118
These SDKs **do not** proxy your calls. They only fire off an async call to PostHog in the
119119
background to send the data. You can also use LLM analytics with other SDKs or our API, but you
120120
will need to capture the data in the right format. See the schema in the [manual capture
121-
section](/docs/llm-analytics/installation/manual-capture) for more details.
121+
section](https://posthog.com/docs/llm-analytics/installation/manual-capture) for more details.
122122
</Markdown>
123123
</CalloutBox>
124124
</Step>
@@ -179,7 +179,7 @@ export const OpenAIInstallation = (): JSX.Element => {
179179
- This works with responses where \`stream=True\`.
180180
- If you want to capture LLM events anonymously, **don't** pass a distinct ID to the request.
181181
182-
See our docs on [anonymous vs identified events](/docs/data/anonymous-vs-identified-events) to learn more.
182+
See our docs on [anonymous vs identified events](https://posthog.com/docs/data/anonymous-vs-identified-events) to learn more.
183183
`}
184184
</Markdown>
185185
</Blockquote>
@@ -198,7 +198,7 @@ export const OpenAIInstallation = (): JSX.Element => {
198198
| \`$ai_output_choices\` | List of response choices from the LLM |
199199
| \`$ai_output_tokens\` | The number of tokens in the output (often found in \`response.usage\`) |
200200
| \`$ai_total_cost_usd\` | The total cost in USD (input + output) |
201-
| [[...]](/docs/llm-analytics/generations#event-properties) | See [full list](/docs/llm-analytics/generations#event-properties) of properties |
201+
| [[...]](https://posthog.com/docs/llm-analytics/generations#event-properties) | See [full list](https://posthog.com/docs/llm-analytics/generations#event-properties) of properties |
202202
`}
203203
</Markdown>
204204
</Step>

docs/onboarding/llm-analytics/openrouter.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export const OpenRouterInstallation = (): JSX.Element => {
121121
These SDKs **do not** proxy your calls. They only fire off an async call to PostHog in the
122122
background to send the data. You can also use LLM analytics with other SDKs or our API, but you
123123
will need to capture the data in the right format. See the schema in the [manual capture
124-
section](/docs/llm-analytics/installation/manual-capture) for more details.
124+
section](https://posthog.com/docs/llm-analytics/installation/manual-capture) for more details.
125125
</Markdown>
126126
</CalloutBox>
127127
</Step>
@@ -182,7 +182,7 @@ export const OpenRouterInstallation = (): JSX.Element => {
182182
- This works with responses where \`stream=True\`.
183183
- If you want to capture LLM events anonymously, **don't** pass a distinct ID to the request.
184184
185-
See our docs on [anonymous vs identified events](/docs/data/anonymous-vs-identified-events) to learn more.
185+
See our docs on [anonymous vs identified events](https://posthog.com/docs/data/anonymous-vs-identified-events) to learn more.
186186
`}
187187
</Markdown>
188188
</Blockquote>
@@ -208,7 +208,7 @@ export const OpenRouterInstallation = (): JSX.Element => {
208208
| \`$ai_output_choices\` | List of response choices from the LLM |
209209
| \`$ai_output_tokens\` | The number of tokens in the output (often found in \`response.usage\`) |
210210
| \`$ai_total_cost_usd\` | The total cost in USD (input + output) |
211-
| [[...]](/docs/llm-analytics/generations#event-properties) | See [full list](/docs/llm-analytics/generations#event-properties) of properties|
211+
| [[...]](https://posthog.com/docs/llm-analytics/generations#event-properties) | See [full list](https://posthog.com/docs/llm-analytics/generations#event-properties) of properties|
212212
`}
213213
</Markdown>
214214
)}

docs/onboarding/llm-analytics/vercel-ai.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const VercelAIInstallation = (): JSX.Element => {
4747
<Markdown>
4848
These SDKs **do not** proxy your calls. They only fire off an async call to PostHog in the background to send the data.
4949

50-
You can also use LLM analytics with other SDKs or our API, but you will need to capture the data in the right format. See the schema in the [manual capture section](/docs/llm-analytics/installation/manual-capture) for more details.
50+
You can also use LLM analytics with other SDKs or our API, but you will need to capture the data in the right format. See the schema in the [manual capture section](https://posthog.com/docs/llm-analytics/installation/manual-capture) for more details.
5151
</Markdown>
5252
</CalloutBox>
5353
</Step>
@@ -113,7 +113,7 @@ export const VercelAIInstallation = (): JSX.Element => {
113113

114114
<Blockquote>
115115
<Markdown>
116-
**Note:** If you want to capture LLM events anonymously, **don't** pass a distinct ID to the request. See our docs on [anonymous vs identified events](/docs/data/anonymous-vs-identified-events) to learn more.
116+
**Note:** If you want to capture LLM events anonymously, **don't** pass a distinct ID to the request. See our docs on [anonymous vs identified events](https://posthog.com/docs/data/anonymous-vs-identified-events) to learn more.
117117
</Markdown>
118118
</Blockquote>
119119

@@ -138,7 +138,7 @@ export const VercelAIInstallation = (): JSX.Element => {
138138
| \`$ai_output_choices\` | List of response choices from the LLM |
139139
| \`$ai_output_tokens\` | The number of tokens in the output (often found in \`response.usage\`) |
140140
| \`$ai_total_cost_usd\` | The total cost in USD (input + output) |
141-
| [[...]](/docs/llm-analytics/generations#event-properties) | See [full list](/docs/llm-analytics/generations#event-properties) of properties|
141+
| [[...]](https://posthog.com/docs/llm-analytics/generations#event-properties) | See [full list](https://posthog.com/docs/llm-analytics/generations#event-properties) of properties|
142142
`}
143143
</Markdown>
144144
)}

0 commit comments

Comments
 (0)