Skip to content

docs: title the migration page with its H1, and move the posthog.com SDK page into the reference - #361

Closed
gewenyu99 wants to merge 2 commits into
mainfrom
docs/migration-page-title
Closed

gewenyu99 wants to merge 2 commits into
mainfrom
docs/migration-page-title

Conversation

@gewenyu99

@gewenyu99 gewenyu99 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

💡 Motivation and Context

The migration page on posthog.com shows two titles: the front matter title "PostHog Rust SDK migration guides", then the guide's own H1. With one guide, the generator now uses the guide's H1 as the page title and drops the H1 from the body. With more than one guide, nothing changes.

The guide rewrites that use this are in separate PRs. The Python SDK has the same change in PostHog/posthog-python#1244.

Content from the posthog.com Rust SDK page

posthog.com retires its hand-written Rust SDK page and redirects it to the Rust reference. So nothing is lost, this PR moves everything on that page that the reference didn't already say into docs/getting-started.md, which the reference shows as its "Getting started" section. Examples are setup variants, how-to sections, feature flag usage, and configuration guidance.

💚 How did you test it?

Ran migration_page on a one-guide and a two-guide input. The script has no test suite.

📝 Checklist

  • All commits are signed (see Commit signing)
  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

🤖 Agent context

Human-driven (agent-assisted)

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gewenyu99
gewenyu99 requested a review from a team as a code owner November 12, 2026 16:52
@gewenyu99 gewenyu99 self-assigned this Nov 12, 2026
@veria-ai

veria-ai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

PR overview

No security issues were found in this pull request.

Reviews

The posthog.com Rust SDK page redirects to this reference once 1.0.0
ships, so its setup, how-to, and feature flag sections now live in
docs/getting-started.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gewenyu99
gewenyu99 marked this pull request as draft November 12, 2026 17:36
@gewenyu99 gewenyu99 changed the title docs: title a single migration guide's page with its H1 docs: title the migration page with its H1, and move the posthog.com SDK page into the reference Nov 12, 2026
@gewenyu99

Copy link
Copy Markdown
Contributor Author

Combined into #362.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant