Skip to content

Conversation

JoviDeCroock
Copy link
Member

@JoviDeCroock JoviDeCroock commented Jul 12, 2025

This will enable the creation of a Preact/signals MCP and so on

@JoviDeCroock JoviDeCroock requested a review from rschristian July 12, 2025 06:03
Copy link
Member

@rschristian rschristian left a 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 preview llms.txt:
# 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)?

@JoviDeCroock JoviDeCroock merged commit 9437950 into master Jul 12, 2025
5 checks passed
@JoviDeCroock JoviDeCroock deleted the generate-llm-txt branch July 12, 2025 07:22
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.

2 participants