Skip to content

Commit

Permalink
Update old in-product links to new /docs* paths (#27252)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloc authored Jan 3, 2025
1 parent 26239e7 commit 3ac3697
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/HogQLEditor/HogQLEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function HogQLEditor({
</LemonButton>
<div className="flex mt-1 gap-1">
<div className={`w-full text-right select-none ${CLICK_OUTSIDE_BLOCK_CLASS}`}>
<Link to="https://posthog.com/manual/hogql" target="_blank">
<Link to="https://posthog.com/docs/hogql" target="_blank">
Learn more about HogQL
</Link>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function DatabaseTableList(): JSX.Element {
<div className="flex items-center justify-between gap-2 mb-4">
<div>
These are the database tables you can query under SQL insights with{' '}
<Link to="https://posthog.com/manual/hogql" target="_blank">
<Link to="https://posthog.com/docs/hogql" target="_blank">
HogQL
</Link>
.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export function IngestionWarningsView(): JSX.Element {
<>
{type} (
<Link
to={`https://posthog.com/manual/data-management#${type
to={`https://posthog.com/docs/data#${type
.toLowerCase()
.replace(',', '')
.split(' ')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function DataWarehouseExternalScene(): JSX.Element {
caption={
<div>
Explore all your data in PostHog with{' '}
<Link to="https://posthog.com/manual/hogql" target="_blank">
<Link to="https://posthog.com/docs/hogql" target="_blank">
HogQL
</Link>
. Connect your own tables from S3 to query data from outside PostHog.{' '}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/scenes/groups/GroupsIntroduction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function GroupIntroductionFooter({ needsUpgrade }: { needsUpgrade: boolea
You can now use Group Analytics. See{' '}
<Link
className="font-medium"
to="https://posthog.com/manual/group-analytics?utm_medium=in-product&utm_campaign=group-analytics-get-started"
to="https://posthog.com/docs/product-analytics/group-analytics?utm_medium=in-product&utm_campaign=group-analytics-get-started"
target="_blank"
data-attr="group-analytics-get-started"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function SamplingFilter({ insightProps, infoTooltipContent }: SamplingFil
<div className="flex items-center gap-1">
<LemonLabel
info={infoTooltipContent || DEFAULT_SAMPLING_INFO_TOOLTIP_CONTENT}
infoLink="https://posthog.com/manual/sampling"
infoLink="https://posthog.com/docs/product-analytics/sampling"
>
Sampling <LemonTag type="warning">BETA</LemonTag>
</LemonLabel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export function FunnelCorrelationTable(): JSX.Element | null {
<p className="m-auto">
Highlight events which are likely to have affected the conversion rate
within the funnel.{' '}
<Link to="https://posthog.com/manual/correlation">
<Link to="https://posthog.com/docs/product-analytics/correlation">
Learn more about correlation analysis.
</Link>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export function FunnelPropertyCorrelationTable(): JSX.Element | null {
<p className="m-auto">
Highlight properties which are likely to have affected the conversion rate
within the funnel.{' '}
<Link to="https://posthog.com/manual/correlation">
<Link to="https://posthog.com/docs/product-analytics/correlation">
Learn more about correlation analysis.
</Link>
</p>
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/scenes/project/CreateProjectModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ export function CreateProjectModal({
<p>
<strong>Tip:</strong> We recommend using the same project for both your website and app to track
conversion fully.{' '}
<Link to="https://posthog.com/manual/organizations-and-projects#projects" target="_blank">
<Link
to="https://posthog.com/docs/settings/organizations-and-projects#projects"
target="_blank"
>
Learn more in PostHog Docs.
</Link>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function GroupAnalyticsConfig(): JSX.Element | null {
<LemonBanner type="info" className="mb-4">
Group types will show up here after you send your first event associated with a group. Take a look
at{' '}
<Link to="https://posthog.com/manual/group-analytics" target="_blank">
<Link to="https://posthog.com/docs/product-analytics/group-analytics" target="_blank">
this guide
</Link>
for more information on getting started.
Expand Down

0 comments on commit 3ac3697

Please sign in to comment.