Skip to content

Add llms.txt #4915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 29, 2025
Merged

Add llms.txt #4915

merged 8 commits into from
Jul 29, 2025

Conversation

colinhacks
Copy link
Owner

@colinhacks colinhacks commented Jul 17, 2025

This pull request introduces several updates to the documentation and codebase, focusing on improving user experience, enhancing content structure, and adding new functionality. The most important changes include the addition of descriptions to documentation pages, the creation of an llms.txt route, and the removal of outdated or redundant documentation files.

Documentation Improvements:

New Features:

  • Created an llms.txt route that generates a plain-text file summarizing the documentation structure, including links to pages and sections for easier integration with AI tools.
  • Added a note in the introduction page about the llms.txt file and its usage for MCP servers.

Code Enhancements:

Cleanup:

  • Removed outdated documentation files, including generic-functions.mdx, parsing.mdx, and object-vs-interface.mdx, to streamline the content and focus on relevant topics. [1] [2] [3]## Summary
  • implement getLLMText utility for Fumadocs
  • expose LLM-friendly docs through /llms.txt route
  • remove placeholder llms.txt

Testing

  • pnpm test

https://chatgpt.com/codex/tasks/task_e_68796fcbfa28832f87f7e0915d946993

@colinhacks colinhacks force-pushed the codex/add-llms.txt-to-zod-docs-site branch from feef400 to f4eaf4f Compare July 29, 2025 05:22
auto-merge was automatically disabled July 29, 2025 05:23

Head branch was modified

@colinhacks colinhacks merged commit 35e6a6f into main Jul 29, 2025
4 checks passed
@colinhacks colinhacks deleted the codex/add-llms.txt-to-zod-docs-site branch July 29, 2025 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant