Skip to content

Conversation

hacknug
Copy link
Contributor

@hacknug hacknug commented Oct 16, 2025

This PR generates a few new txt files to help llms consume the contents of our website, complementing the individual markdown files we serve for each document.

It uses the starlight-llms-txt plugin with a little config to make the order better match our sidebar (although with some differences). You can check the available options here: https://delucis.github.io/starlight-llms-txt/configuration/

I excluded the telemetry dir but maybe we should just demote it to the end since it is the only place where we mention how to disable telemetry?

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 16, 2025

Open in StackBlitz

npm i https://pkg.pr.new/alchemy-run/alchemy@1134

commit: 711d624

@github-actions
Copy link

🚀 Website Preview Deployed

Your website preview is ready!

Preview URL: https://0d42e45c-alchemy-website.alchemy-run.workers.dev

This preview was built from commit 3ac003b


🤖 This comment will be updated automatically when you push new commits to this PR.

Comment on lines +121 to +131
starlightLlmsTxt({
promote: [
"index",
"what-is-alchemy",
"getting-started",
"!*/*", // pages at the root dir
"concepts/**",
"guides/**",
],
demote: ["providers/**", "blog/**"],
exclude: ["telemetry/**"],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you checked the size of the llms.txt? When i tested it, it was a million tokens because of providers/aws/control.

We should exclude the aws/control docs and check if the LLMs.txt is usable/not too big.

Is there a way to provide hierarchical llms.txt?

Copy link
Contributor

@JacobMGEvans JacobMGEvans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sam's question is a good one, didnt realize the AWS stuff caused so much LLM.txt in the past for them

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.

3 participants