Skip to content

Commit 7e302a8

Browse files
Merge branch 'onboarding-flow-recipe-blog-post' of https://github.com/PostHog/posthog.com into onboarding-flow-recipe-blog-post
2 parents eac4c17 + 40d13b5 commit 7e302a8

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<CalloutBox icon="IconFlask" title="Product tours is in private beta" type="info">
2+
3+
Product Tours is currently in private beta. [Share your thoughts](https://us.posthog.com/external_surveys/019af5f5-a50e-0000-b10f-e8c30c0b73a0) and we'll reach out with early access.
4+
5+
</CalloutBox>

contents/docs/feature-flags/property-overrides.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Mobile SDKs (React Native, iOS, and Android) include common device and app prope
210210
| `$app_version` | App version from bundle/package info |
211211
| `$app_build` | App build number |
212212
| `$app_namespace` | App bundle identifier/namespace |
213-
| `$os_name` | Operating system name ("macOS", "iOS", "iPadOS", "tvOS", "watchOS", "visionOS", "Android") |
213+
| `$os` | Operating system name ("macOS", "iOS", "iPadOS", "tvOS", "watchOS", "visionOS", "Android") |
214214
| `$os_version` | Operating system version |
215215
| `$device_type` | Device type ("Mobile", "Tablet", "TV", "CarPlay", "Desktop", "Vision") |
216216
| `$lib` | SDK identifier (e.g., "posthog-ios") |

src/templates/ApiEndpoint.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,8 @@ export default function ApiEndpoint({ data }: { data: ApiEndpointData }): JSX.El
610610
}, [])
611611

612612
// Find overview.mdx node for this API entity
613-
const overviewNode = allMdx.nodes?.find((node) => node.slug === `docs/api/${name}/overview`)
613+
// Note: name uses underscores (from OpenAPI), but file slugs use hyphens
614+
const overviewNode = allMdx.nodes?.find((node) => node.slug === `docs/api/${name.replace(/_/g, '-')}/overview`)
614615

615616
const [hovered, setHovered] = useState(false)
616617

0 commit comments

Comments
 (0)