Generate llms.txt from docs corpus, include page descriptions, and expose per-page .md LLM routes#8
Generate llms.txt from docs corpus, include page descriptions, and expose per-page .md LLM routes#8Copilot wants to merge 7 commits into
llms.txt from docs corpus, include page descriptions, and expose per-page .md LLM routes#8Conversation
Agent-Logs-Url: https://github.com/alineacms/alineacms.com/sessions/7f6c13f0-c882-4bb0-8e26-10b1ab9dde45 Co-authored-by: benmerckx <10584189+benmerckx@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alineacms/alineacms.com/sessions/a0f08e2d-b897-4179-b0f7-af2ecbba4543 Co-authored-by: benmerckx <10584189+benmerckx@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alineacms/alineacms.com/sessions/a0f08e2d-b897-4179-b0f7-af2ecbba4543 Co-authored-by: benmerckx <10584189+benmerckx@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alineacms/alineacms.com/sessions/a0f08e2d-b897-4179-b0f7-af2ecbba4543 Co-authored-by: benmerckx <10584189+benmerckx@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@copilot The linked .md sub routes give a 404 |
Agent-Logs-Url: https://github.com/alineacms/alineacms.com/sessions/92612755-1f7c-46b7-8b8f-dce4ef38553a Co-authored-by: benmerckx <10584189+benmerckx@users.noreply.github.com>
Fixed in |
|
@copilot feedback from @cloetensbrecht:
|
Agent-Logs-Url: https://github.com/alineacms/alineacms.com/sessions/999934ef-199c-4b26-b237-c719cbd7ccf8 Co-authored-by: benmerckx <10584189+benmerckx@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alineacms/alineacms.com/sessions/999934ef-199c-4b26-b237-c719cbd7ccf8 Co-authored-by: benmerckx <10584189+benmerckx@users.noreply.github.com>
Done in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
llms.txt from docs corpus and expose per-page .md LLM routesllms.txt from docs corpus, include page descriptions, and expose per-page .md LLM routes
llms.txtis now generated from the same docs source asllms-full.txt, but instead of embedding full content it links every docs page to a dedicated markdown endpoint. It now also includes a short per-page description, giving agents a lightweight index plus stable retrieval URLs with quick context.Scope
llms.txtcontent with a generated docs index..mdroute per docs page URL.llms.txt.llms-full.txtbehavior intact while refactoring shared logic.What changed
src/app/llms/_lib.ts:/docsroot + docs children).mdURL mapping helper (/docs/...→/llms/docs/....md)src/app/llms-full.txt/route.tsto consume the shared utilities without changing full-output semantics.src/app/llms.txt/route.tsto emit:/llms-full.txt/llms/**/*.mdendpointsrc/app/llms/[...slug]/route.ts:llms-full.txt.mdsuffix from the slug pathExample