Skip to content

feat(docs): link the Go, Rust, iOS, Android and Flutter Markdown references - #22003

Closed
gewenyu99 wants to merge 16 commits into
python-markdown-referencefrom
sdk-markdown-reference-navs
Closed

gewenyu99 wants to merge 16 commits into
python-markdown-referencefrom
sdk-markdown-reference-navs

Conversation

@gewenyu99

@gewenyu99 gewenyu99 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Changes

This PR adds the Markdown SDK references for Go, Rust, iOS, Android, and Flutter to the docs nav. Each SDK goes under the SDK reference entry from #21973, the same way as Python: the SDK opens its latest reference and lists its current major (for example, 1.x.x), its next major (2.x.x (experimental)), and Migration guides where it has one. Flutter has no migration page.

The SDKs entries don't change. The nav stays three levels deep. No page content is in this PR: the site writes each page from Strapi when it builds (#21971).

Tested: node --test src/navs/activeMenu.test.ts passes (9), and a new test checks that each page uses its SDK's sidebar. A local build against a local Strapi, with the pages synced from the SDK PRs, renders each page.

Checklist

Merge order

🤖 Generated with Claude Code

Each SDK's docs nav gets Reference, with its current and experimental majors,
and Migration guides where the SDK has one, like Python's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the website About the website (beyond just landing pages) label Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Nov 06, 2026 11:37PM

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Bundle report

Total JS (gzip)

11.71 MiB (-8.9 KiB / -0.1%)

Largest changed named chunks
Chunk Gzip Δ vs master
0f1f293f0cdc17eb638f3148b85189840d0555db.js 451.6 KiB new
7538f87a61bdb20f85b1fcaad7d5d42393ae7a16.js 172.0 KiB new
439ba29c2852b6208a931389af573b1c8e78d695.js 117.4 KiB new
6346efbe18e662bdd279de11eb0d1e95ada65d62.js 53.4 KiB new
45f2932db585b5f28f5187f0f89f4505534b33f4.js 48.2 KiB new
672614bce2e4bad02ba688a0d4a0d9d2789b4a33.js 37.5 KiB new
component---src-pages-hog-index-tsx.js 6.1 KiB -36.8 KiB / -85.8%
86e2a8b269bc1f47c7a34440db212e1ff582ef89.js 24.0 KiB new
9289739d0ab53cc0189707d10fdff23e577e0e62.js 16.3 KiB new
03be17dce2a45c2ef64143e091d8a064e345c76c.js 12.7 KiB new
c936690241adf4a77d87e01ef068749f1a3ad467.js 11.6 KiB new
f242ef617d1251ab03a166e5062be00a69d01f67.js 10.4 KiB new
5817ec341f25849857da7bc0c089ccae098048dc.js 9.8 KiB new
55b0df0d7e5a59c3ebf5d8c27fa73ab3e30975ca.js 8.7 KiB new
f8211ecfe7059f46e5b027984fe359820bc161b1.js 7.7 KiB new

Eager graph (modules shipped in each entrypoint's initial chunks)

Entrypoint Eager size Budget Modules
✅ app 9.94 MiB (-2.0 KiB / -0.0%) report-only 1024
Largest modules in the app closure
Module Size
css ./node_modules/.pnpm/css-loader@5.2.7_webpack@5.101.3/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[1]!./node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.6_webpack@5.101.3/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[2]!./src/styles/global.css 838.7 KiB
./src/components/Stickers/Stickers.tsx 696.4 KiB
./node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js 354.8 KiB
./node_modules/.pnpm/react-markdown@8.0.7_@types+react@16.14.66_react@18.3.1/node_modules/react-markdown/lib/react-markdown.js + 88 modules 351.4 KiB
./node_modules/.pnpm/framer-motion@14.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs + 126 modules 287.2 KiB
./node_modules/.pnpm/cloudinary-core@2.14.0_lodash@4.17.21/node_modules/cloudinary-core/cloudinary-core.js 281.9 KiB
./src/components/SearchUI/index.tsx + 87 modules 273.1 KiB
./gatsby-browser.tsx + 59 modules 259.1 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/construction-1.mjs 248.5 KiB
./src/components/Pricing/PricingSlider/Slider.tsx + 87 modules 240.2 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/construction-2.mjs 228.2 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/magnifying-glass.mjs 221.7 KiB
./src/hooks/skills.tsx + 2 modules 150.7 KiB
./src/hooks/useProduct.ts + 9 modules 150.0 KiB
./src/components/Icons/Icons.tsx 147.4 KiB

Eager-graph budgets are report-only until a baseline is established. Sizes are gzip of public/**/*.js; eager size is webpack module source bytes for the modules actually shipped in the entrypoint's initial chunks (post-tree-shake).

gewenyu99 and others added 9 commits November 5, 2026 13:54
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…der SDK reference

Each SDK goes under the SDK reference entry from #21973, three levels deep,
instead of under its own SDKs entry. Their SDKs entries don't change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread src/navs/index.js
@@ -3042,9 +3042,77 @@ export const docsMenu = {
},
{
name: 'SDK reference',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[question] The existing React Native entry still points to the old HogRef page (/docs/references/posthog-react-native), and React Native, browser and Node aren't linked to Markdown refs yet. Is that a follow-up once PostHog/posthog-js#5589 lands?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we're going to update that, and it'll be the last one before we stop using HogRef. After that, we'll remove the old references pages from the website completely. We're not deleting HogRef in the SDK repos though. There's no reason to remove it, so it stays in place for history and record. Thanks!

@gewenyu99

Copy link
Copy Markdown
Contributor Author

Combined into #22061.

@gewenyu99 gewenyu99 closed this Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

website About the website (beyond just landing pages)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants