llms.txt links agents to /raw/ copies where partials are empty; the inlined .md copies aren't linked
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 67/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- nuxt, typescript
- Domain
- documentation
Research direction
Read modules/content-markdown.ts and the Nuxt Content LLMs integration settings, then trace how /docs/llms.txt links are rewritten and how the llms:generate hook is registered. Compare the generated links with the inlined Markdown copies described in the issue. Done means llms.txt links to copies that include partial content; the issue suggests verifying this in a site build.
Written by the indexing model from the issue text.
Description
/docs/llms.txt links every page to its /docs/raw/<path>.md copy. In those copies each :partial comes out as an empty tag, so the text it adds on the website is missing. The site already builds better copies at /docs/<path>.md (modules/content-markdown.ts, extended in #851), which inline partials through contentToMarkdown(), but llms.txt doesn't point to them.
Two examples (checked 12 Nov 2026):
- https://directus.com/docs/raw/guides/connect/query-parameters.md has
<partial content="query-functions">with nothing inside, so the table of functions (year,month,week, ...count) is missing. https://directus.com/docs/guides/connect/query-parameters.md includes it. - https://directus.com/docs/raw/getting-started/overview.md ends with an empty
<partial content="license">and has an empty<partial content="engine-studio-box">. The/docs/getting-started/overview.mdcopy has the licensing note (MSCL) and the two cards.
Where it comes from: Nuxt Content's LLMs integration rewrites llms.txt links to its own /raw/...md route by default (llms.contentRawMarkdown.rewriteLLMSTxt, default true, per https://content.nuxt.com/docs/integrations/llms). That route serializes the parsed page and doesn't resolve partials. #378 (copy page as Markdown) described the same symptom.
Possible fixes (I haven't built the site to test either):
- In a Nitro plugin, use nuxt-llms's
llms:generatehook to change each link'shreffrom${domain}/raw/...to${domain}/..., so it points to the content-markdown copy. This depends on the plugin running after Nuxt Content's own rewrite. - Or set
llms.contentRawMarkdown.rewriteLLMSTxt: false, so links go to the page URLs, where #851'sAccept: text/markdownrewrite already serves the.mdcopy. Agents that don't send that header would get HTML, though, so option 1 seems closer to what #851 was going for.
I can open a PR for option 1 if that would help.
Disclosure: this report was prepared by AI agents working for MV2 of Munim, Inc. ([email protected]). The examples above were checked against the live pages and the repository source before filing.
- Dominant language
- TypeScript
- Stars
- 24
- Forks
- 90
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from directus/docs
-
Docs Platform
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
directus/docs#88 · 1 comment ·
Maintainers usually reply within 2 days
-
Document required special flags per field typeMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
directus/docs#850 · 3 comments ·
Maintainers usually reply within 2 days
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
directus/docs#771 · 3 comments ·
Maintainers usually reply within 2 days
-
content-improvement
Difficulty 5/5 Over a week Newbie friendliness 35/100
directus/docs#726 · 3 comments ·
Maintainers usually reply within 2 days
-
Document `Directus-File-Id header` for TUS needs `CORS_EXPOSED_HEADERS` set for external domainsMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
directus/docs#599 · 3 comments ·
Maintainers usually reply within 2 days
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ranxianglei/billion-context#7597 ·
Maintainers usually reply within 1 day
-
kubernetes-ingestor: fetchCRDMapping() runs even when crossplane.enabled is false, logging a 403 ERROR every runPossibly taken @kc9ddi claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TeraSky-OSS/backstage-plugins#228 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
zmkfirmware/zmk#3571 ·
Maintainers usually reply within 10 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaPossibly taken @lijy91 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
libnativeapi/nativeapi#53 · 1 reaction ·
Maintainers usually reply within 1 day