llms.txt links agents to /raw/ copies where partials are empty; the inlined .md copies aren't linked
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 67/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- nuxt, typescript
- Lĩnh vực
- documentation
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
/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.
- Ngôn ngữ chính
- TypeScript
- Star
- 24
- Fork
- 90
- Merge trung bình
- 3 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 19
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của directus/docs
-
Docs Platform
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
directus/docs#88 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Document required special flags per field typeCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
directus/docs#850 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
directus/docs#771 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
content-improvement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
directus/docs#726 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Document `Directus-File-Id header` for TUS needs `CORS_EXPOSED_HEADERS` set for external domainsCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
directus/docs#599 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của directus/docs
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ranxianglei/billion-context#7597 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kubernetes-ingestor: fetchCRDMapping() runs even when crossplane.enabled is false, logging a 403 ERROR every runCó thể đã có người làm @kc9ddi đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
TeraSky-OSS/backstage-plugins#228 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
zmkfirmware/zmk#3571 ·
Maintainer thường phản hồi trong vòng 10 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 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 areaCó thể đã có người làm @lijy91 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
libnativeapi/nativeapi#53 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày