Skip to content

Conversation

@quantizor
Copy link

Add /llms.txt endpoint that serves a concatenated, text-only version of all Tailwind CSS documentation pages optimized for Large Language Model consumption.

  • Extract text from MDX files, removing JSX components and preserving code blocks
  • Remove standalone HTML blocks (not in code blocks)
  • Extract meaningful content from custom components (ApiTable, ResponsiveDesign, etc.)
  • Statically generate the output at build time
  • Include all 185 documentation files in proper order with sections

:)

Add /llms.txt endpoint that serves a concatenated, text-only version
of all Tailwind CSS documentation pages optimized for Large Language
Model consumption.

- Extract text from MDX files, removing JSX components and preserving
  code blocks
- Remove standalone HTML blocks (not in code blocks)
- Extract meaningful content from custom components (ApiTable,
  ResponsiveDesign, etc.)
- Statically generate the output at build time
- Include all 185 documentation files in proper order with sections
@vercel
Copy link

vercel bot commented Nov 18, 2025

@quantizor is attempting to deploy a commit to the Tailwind Labs Team on Vercel.

A member of the Team first needs to authorize it.

@quantizor
Copy link
Author

@petersuhm 👋

@quantizor
Copy link
Author

As a future enhancement, I'd like to introduce the markdown-to-jsx AST parser quantizor/markdown-to-jsx#725 when it's ready so we can get rid of the gnarly regexes.

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