llms.txt links agents to /raw/ copies where partials are empty; the inlined .md copies aren't linked
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 67/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- nuxt, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
/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.
- 主要言語
- TypeScript
- スター
- 24
- フォーク
- 90
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 19
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
directus/docs のほかの issue
-
Docs Platform
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 2 日以内に返信
-
Document required special flags per field type再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
directus/docs#850 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
directus/docs#771 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
content-improvement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
directus/docs#726 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
Document `Directus-File-Id header` for TUS needs `CORS_EXPOSED_HEADERS` set for external domains再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
directus/docs#599 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ranxianglei/billion-context#7597 ·
メンテナーはふだん 1 日以内に返信
-
kubernetes-ingestor: fetchCRDMapping() runs even when crossplane.enabled is false, logging a 403 ERROR every run対応中かも @kc9ddi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TeraSky-OSS/backstage-plugins#228 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
zmkfirmware/zmk#3571 ·
メンテナーはふだん 10 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 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 area対応中かも @lijy91 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
libnativeapi/nativeapi#53 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信