Skip to content

Give llms.txt a header and leave out pages without content - #74

Open
DawidRobertNowak wants to merge 1 commit into
mainfrom
docs/llms-txt-header
Open

DawidRobertNowak wants to merge 1 commit into
mainfrom
docs/llms-txt-header

Conversation

@DawidRobertNowak

Copy link
Copy Markdown
Contributor

Changes only docs/.vitepress/config.ts.

Header. The generated llms.txt starts with one sentence. It now says what QuestPDF is, how to install it and where to start, and links llms-full.txt, which was not linked before. License, pricing and policy pages are linked as HTML pages, without a summary of the license terms.

Left out of the index. Two kinds of entries are left out because they give an AI tool nothing to read:

  • the api-reference/tip-* fragments, listed as "Untitled";
  • pages whose Markdown holds only a Vue component (26–50 bytes): license, pricing, features overview, contact and the policy pages.

license/configuration.md has real content and stays.

Result. In a local build, the index has 101 links instead of 117 and no "Untitled" entries. All header links return 200.

The generated llms.txt had a one-sentence header, entries titled "Untitled"
for tip fragments, and links to pages whose Markdown holds only a Vue
component. The header now says what QuestPDF is, how to install it, where to
start, and links llms-full.txt; license and policy pages are linked as HTML.
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