Skip to content

Add llms.txt and Markdown pages for coding agents - #689

Merged
kenhys merged 1 commit into
fluent:1.0from
Watson1978:add-llms-txt
Sep 7, 2026
Merged

Add llms.txt and Markdown pages for coding agents#689
kenhys merged 1 commit into
fluent:1.0from
Watson1978:add-llms-txt

Conversation

@Watson1978

@Watson1978 Watson1978 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Coding agents such as Claude Code and Cursor write Fluentd configuration files, and they need this site as a primary source. When the site was hosted on GitBook, https://docs.fluentd.org/llms.txt and a Markdown twin of every page (the page URL with .md appended) were served automatically. Both were lost in the move to HonKit and return 404 today.

llms.txt is checked in at the repository root and maintained by hand. Its sections mirror SUMMARY.md, so adding a page means adding one line.

Ref. https://llmstxt.org/

GitBook served /llms.txt and a Markdown twin of every page. Both were
lost in the HonKit migration and return 404 today.

Check in llms.txt by hand, with sections mirroring SUMMARY.md, and copy
the Markdown sources into the build so that appending .md to a page URL
returns its source. Page sources are unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@netlify

netlify Bot commented Sep 7, 2026

Copy link
Copy Markdown

Deploy Preview for fluentd-docs ready!

Name Link
🔨 Latest commit 4f5c0f4
🔍 Latest deploy log https://app.netlify.com/projects/fluentd-docs/deploys/6a9e24206edcd3000712cac0
😎 Deploy Preview https://deploy-preview-689--fluentd-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Watson1978
Watson1978 requested a review from kenhys September 7, 2026 02:47

@kenhys kenhys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a concern about out-of-date without syncing SUMMARY.md, but it is a good step.

validator warns duplicated-link-text, but its section is different.

npx @bridgetoagent-com/llms-txt-validator ./llms.txt
Need to install the following packages:
@bridgetoagent-com/llms-txt-validator@0.1.0
Ok to proceed? (y) y

Source: ./llms.txt

STATUS: pass

Sections: 22    Links: 209    Errors: 0    Warnings: 0    Info: 15

--- INFO (15) ---
  [duplicate-link-text] line 103: Link text "Overview" appears multiple times (first seen on line 21).
  [duplicate-link-text] line 129: Link text "forward" appears multiple times (first seen on line 111).
  [duplicate-link-text] line 130: Link text "http" appears multiple times (first seen on line 115).
  [duplicate-link-text] line 131: Link text "exec" appears multiple times (first seen on line 117).
  [duplicate-link-text] line 156: Link text "stdout" appears multiple times (first seen on line 137).
  [duplicate-link-text] line 166: Link text "syslog" appears multiple times (first seen on line 116).
  [duplicate-link-text] line 179: Link text "json" appears multiple times (first seen on line 170).
  [duplicate-link-text] line 180: Link text "ltsv" appears multiple times (first seen on line 167).
  [duplicate-link-text] line 181: Link text "csv" appears multiple times (first seen on line 168).
  [duplicate-link-text] line 182: Link text "msgpack" appears multiple times (first seen on line 171).
  [duplicate-link-text] line 185: Link text "stdout" appears multiple times (first seen on line 137).
  [duplicate-link-text] line 186: Link text "tsv" appears multiple times (first seen on line 169).
  [duplicate-link-text] line 192: Link text "file" appears multiple times (first seen on line 128).
  [duplicate-link-text] line 204: Link text "file" appears multiple times (first seen on line 128).
  [duplicate-link-text] line 210: Link text "local" appears multiple times (first seen on line 198).

@kenhys
kenhys merged commit 3290ecc into fluent:1.0 Sep 7, 2026
6 checks passed
@Watson1978
Watson1978 deleted the add-llms-txt branch September 7, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants