Skip to content

fix: keep LLM docs and copied guides in sync with the website - #87

Merged
danstepanov merged 1 commit into
mainfrom
danstepanov/sync-ai-docs
Sep 15, 2026
Merged

danstepanov merged 1 commit into
mainfrom
danstepanov/sync-ai-docs

Conversation

@danstepanov

Copy link
Copy Markdown
Member

The LLM endpoints were returning raw MDX, which left out install commands and compatibility tables rendered by shared components. Installation and migration copy buttons also kept separate copies of the guides.

This generates the page Markdown, full exports and copied guides from the same docs. It expands partials, preserves code examples and support limits, shares command and table data with the rendered pages, fixes v4 Tailwind links, and keeps helper files out of the public index. Unknown MDX components fail the build instead of silently dropping guidance.

Added regression tests and a documentation CI workflow. pnpm test:llm and pnpm build pass. Browser checks verified all 387 indexed Markdown URLs, confirmed each page matches its full export, checked package manager tabs and compatibility tables, and confirmed four copy buttons return the exact exported text.

@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nativewind Ready Ready Preview Sep 15, 2026 3:04am UTC

Request Review

@danstepanov
danstepanov merged commit 07ad0b3 into main Sep 15, 2026
2 checks passed
@danstepanov
danstepanov deleted the danstepanov/sync-ai-docs branch September 15, 2026 03:13
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