Feature Request: We need llms-full.txt, llms.txt for better llm understanding
I have noticed that https://tanstack.com/llms.txt is redirected to https://tanstack.com/llms.txt/latest and it returns a text/html response instead of a plain-text llms.txt. It's the same mechanism as https://tanstack.com/start being redirected to https://tanstack.com/start/latest.
+1. for now, you can make LLMs docs of this github with this tool: https://www.gittodoc.com/tanstack/query
Proposed solution: generate directly from the library config.
function convertToMarkdown(config, libraryName) {
let markdown = `# ${libraryName} Documentation\n\n`;
config.sections.forEach(section => {
markdown += `## ${section.label}\n\n`;
if (section.children && section.children.length > 0) {
section.children.forEach(child => {
markdown += `- [${child.label}](/${child.to}.md)\n`;
});
markdown += '\n';
}
if (section.frameworks) {
section.frameworks.forEach(framework => {
markdown += `### ${framework.label}\n\n`;
if (framework.children && framework.children.length > 0) {
framework.children.forEach(child => {
markdown += `- [${child.label}](/${child.to}.md)\n`;
});
markdown += '\n';
}
});
}
});
return markdown;
}
Attached an example of what https://github.com/TanStack/query/blob/main/docs/config.json would turn into
at least for me https://tanstack.com/llms.txt now is straight up broken.
here's a gist to the console log for https://tanstack.com/llms.txt :
https://gist.github.com/luke-stdev001/e7da3da19f56a99686dc994549630d7c
Hello, any updates on this?
This would really be appreciated
This is really needed.
Maybe I’ll work on this tonight On Dec 8, 2025 at 8:12 PM -0700, Ariel Weinberger @.***>, wrote:
arielweinberger left a comment (TanStack/tanstack.com#398) This is really needed. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
looking forward to using it
This is really needed for feeding the LLM(s) which has cut-off knowledge back to 2024.