-
-
Notifications
You must be signed in to change notification settings - Fork 521
Generate llms.txt file #1304
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
Generate llms.txt file #1304
Conversation
ce891aa
to
1ae470a
Compare
032dc9b
to
9d80db1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, two more things (though feel free to merge anyhow, idk if either are issues per se):
<toc></toc>
- We have this in most docs, will it be problematic? It's not amidst any examples, so it might be harmless
- Heading hierarchy
- The heading levels are bit weird, as you create a document title heading with
##
but then each document has it's own heading as#
. This comes from the very top of the previewllms.txt
:
- The heading levels are bit weird, as you create a document title heading with
# Preact Documentation
This file contains comprehensive documentation for Preact v10, a fast 3kB alternative to React with the same modern API.
Generated on: 2025-07-12T06:52:21.658Z
Source: https://github.com/preactjs/preact-www
## Overview
Preact is a fast, lightweight alternative to React that provides the same modern API in a much smaller package. This documentation covers all aspects of Preact v10, including components, hooks, server-side rendering, TypeScript support, and more.
---
## API Reference
**Description:** Learn more about all exported functions of the Preact module
**Source:** content/en/guide/v10/api-reference.md
# API Reference
...
## Component
...
Depending on how tools parse this doc, I can see them getting a bit lost. We might need to adjust heading levels for each document, potentially stripping out the main heading from the content body too (as you create one yourself)?
9d80db1
to
b3f0285
Compare
This will enable the creation of a Preact/signals MCP and so on