Skip to content

Use params.llms.rootNote instead of a root llms.txt override - #1561

Draft
artberger wants to merge 1 commit into
mainfrom
adb-llms-rootnote
Draft

artberger wants to merge 1 commit into
mainfrom
adb-llms-rootnote

Conversation

@artberger

Copy link
Copy Markdown
Collaborator
AI-generated summary

Why

  • The override shadowed the theme's whole root llms.txt template to add one paragraph. It was copied from theme v0.4.x, so it also brought back the inlined blog posts and build timestamp that v0.5.0 removed, and it would miss any later template fixes.

What

  • layouts/llms.txt: deleted, so the root /llms.txt comes from the theme again.
  • hugo.yaml: adds params.llms.rootNote with the same paragraph, word for word. params.llms.docsIntro, which covers /docs/llms.txt, is unchanged.

Verification

  • Built the site with docs-theme-extras temporarily pinned to main (35785b4). The root /llms.txt shows the paragraph as its own block after the index sentence and before the section links, with no blog list or timestamp (3.2 KB). /docs/llms.txt still has the docsIntro skills pointer.
  • The temporary pin is not committed. go.mod still pins v0.5.0.

Before merge

  • Bump github.com/solo-io/docs-theme-extras in go.mod to the release that includes params.llms.rootNote, then mark this PR ready.

🤖 Generated with Claude Code

docs-theme-extras now prints params.llms.rootNote in the root
/llms.txt (solo-io/docs-theme-extras#95). Move the skills paragraph
into that param and delete layouts/llms.txt, which shadowed the
theme's template and reverted the v0.5.0 root index (inlined blog
posts and a build timestamp).

Needs a docs-theme-extras release that includes the param.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Art Berger <art.berger@solo.io>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying agentproxy with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8b82b3a
Status: ✅  Deploy successful!
Preview URL: https://b4d564d3.agentproxy.pages.dev
Branch Preview URL: https://adb-llms-rootnote.agentproxy.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant