llms.txt links agents to /raw/ copies where partials are empty; the inlined .md copies aren't linked
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 67/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- nuxt, typescript
- Área
- documentation
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
/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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 24
- Forks
- 90
- Merge medio
- 3 d 22 h
- PR fusionados (30 d)
- 19
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de directus/docs
-
Docs Platform
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
directus/docs#88 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Document required special flags per field typeQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
directus/docs#850 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
directus/docs#771 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
content-improvement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
directus/docs#726 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
Document `Directus-File-Id header` for TUS needs `CORS_EXPOSED_HEADERS` set for external domainsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
directus/docs#599 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de directus/docs
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ranxianglei/billion-context#7597 ·
Los mantenedores suelen responder en 1 día
-
kubernetes-ingestor: fetchCRDMapping() runs even when crossplane.enabled is false, logging a 403 ERROR every runPosiblemente ocupada @kc9ddi la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
TeraSky-OSS/backstage-plugins#228 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
zmkfirmware/zmk#3571 ·
Los mantenedores suelen responder en 10 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 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 areaPosiblemente ocupada @lijy91 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
libnativeapi/nativeapi#53 · 1 reacción ·
Los mantenedores suelen responder en 1 día