Doc 14578 high priority geo fixes - #905
Merged
Merged
Conversation
osfameron
requested review from
TimLFletcher,
cb-jb,
jamesoquendo and
tech-comm-team-couchbase
and
a lite review from Copilot
August 11, 2026 14:23
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Couchbase docs-site generation to improve LLM-oriented indexing and crawling behavior, including splitting llms.txt into per-category indexes and tightening robots.txt rules via the Antora playbook.
Changes:
- Namespace Antora metadata (
editUrl,xref) into YAML frontmatter for markdown-for-LLM output. - Generate per-category
llms-<category>.txtfiles (based onkeys.nav_groups) plus anllms-full.txtpointer file, and include them in a dedicated sitemap. - Update
robotsdirectives inantora-playbook.ymlto disallow specific SEO scrapers and explicitly permit selected AI crawlers.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| lib/markdown-for-llm.js | Moves editUrl and Antora link info into a namespaced antora frontmatter object. |
| lib/llms-txt.js | Splits llms.txt into per-nav-group category indexes, adds llms-full.txt, and expands sitemap generation accordingly. |
| home/modules/ROOT/partials/llms-txt.md | Adds an LLM usage note and clarifies local vs web link resolution guidance. |
| home/modules/ROOT/partials/llms-full-txt.md | Introduces a short “full corpus” pointer file directing users to per-category index or git clone. |
| antora-playbook.yml | Adjusts robots rules for SEO scrapers/AI crawlers and defines keys.nav_groups used for categorization. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
jamesoquendo
approved these changes
Aug 15, 2026
jamesoquendo
left a comment
There was a problem hiding this comment.
Markdown and robots.txt look good.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
requires https://github.com/couchbase/docs-infra/commit/f77d7a880c8dd220d091482348d35f955e2e9258 (already pushed) to work.
The major categories to review are:
llms.txtis now output by categorySee preview
There's no need to review the
llms-txt.js(though comments are welcome, and I'm happy to walk through the code or answer any comments)llms-full.txtnow contains a distinct workaroundSee preview
This now refers to our repo https://github.com/couchbaselabs/docs-markdown-snapshot/
robots.txtimprovementsNo preview, but should be easy enough to make out in the
antora-playbook.ymlconfigurationYAML frontmatter fix to namespace
editURLandxrefSee for example
Again, there's no need to worry about reviewing the
markdown-for-llm.js(though this one is probably fairy straight-forward JavaScript review if you want to tackle it)