Repository navigation
docs: correct option behavior and tighten prose across the docs - #79
Merged
Merged
Conversation
Fix factual errors found by checking every documented claim against src/: - Default llms.txt links have no .md suffix: addMdExtension applies only with generateMarkdownFiles. - customLLMFiles[].includeUnmatchedLast defaults to true. - Any .md/.mdx import is inlined, @alias/ paths resolve against the site directory, and a circular import is an error that drops the import. - processingBatchSize sets progress-logging granularity; documents are all processed before batching, so it doesn't bound memory. - pathTransformation addPaths inserts after the route base path; the examples now use site-relative paths with docsDir: 'docs'. - Section headings need two or more sections and fall back to path; routeBasePath and blogRouteBasePath are relative to baseUrl. - Root-URL pages map to index.md; sample log output matches the real output; remove the llmsTxtFilename "keep both links" example, which doesn't work. Document behavior that had no docs: how titles and descriptions are chosen (including the #76 skips), directory index handling (#74), the llms-full.txt page structure, draft skipping, and the auto-mode "Version: current" label. Replace the duplicated DocsSection and CustomLLMFile tables in content-generation.md with links to the configuration reference, merge the two overlapping cleaning-combination sections, and drop text that narrated history (the backward-compatibility section, "existing configs are unaffected" caveats). Give every page a front matter description and order the site's llms.txt by the sidebar, so the dogfood llms.txt has full summaries in reading order. Add a Documentation entry to the Unreleased changelog. Co-Authored-By: Claude Opus 5.5 <[email protected]>
rachfop
added a commit
that referenced
this pull request
Oct 2, 2026
Fix factual errors found by checking every documented claim against src/: - Default llms.txt links have no .md suffix: addMdExtension applies only with generateMarkdownFiles. - customLLMFiles[].includeUnmatchedLast defaults to true. - Any .md/.mdx import is inlined, @alias/ paths resolve against the site directory, and a circular import is an error that drops the import. - processingBatchSize sets progress-logging granularity; documents are all processed before batching, so it doesn't bound memory. - pathTransformation addPaths inserts after the route base path; the examples now use site-relative paths with docsDir: 'docs'. - Section headings need two or more sections and fall back to path; routeBasePath and blogRouteBasePath are relative to baseUrl. - Root-URL pages map to index.md; sample log output matches the real output; remove the llmsTxtFilename "keep both links" example, which doesn't work. Document behavior that had no docs: how titles and descriptions are chosen (including the #76 skips), directory index handling (#74), the llms-full.txt page structure, draft skipping, and the auto-mode "Version: current" label. Replace the duplicated DocsSection and CustomLLMFile tables in content-generation.md with links to the configuration reference, merge the two overlapping cleaning-combination sections, and drop text that narrated history (the backward-compatibility section, "existing configs are unaffected" caveats). Give every page a front matter description and order the site's llms.txt by the sidebar, so the dogfood llms.txt has full summaries in reading order. Add a Documentation entry to the Unreleased changelog.
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.
Summary
Every documented option, default, and example was checked against
src/. This PR fixes the claims that didn't match, documents behavior that had no docs, and tightens the prose.Corrections
llms.txtlinks have no.mdsuffix:addMdExtensionapplies only whengenerateMarkdownFilesistrue. The overview sample now matches real output, including the## Table of Contentsheading and: descriptionsuffix.customLLMFiles[].includeUnmatchedLastdefaults totrue(the configuration reference saidfalse)..md/.mdximport is inlined,@alias/paths resolve against the site directory, and a circular import is reported as an error and dropped.processingBatchSizesets how often verbose mode logs progress. Documents are all processed before batching, so it doesn't bound memory.pathTransformation.addPathsinserts after the route base path. The examples use site-relative paths withdocsDir: 'docs'.path.routeBasePathandblogRouteBasePathare relative tobaseUrl.index.md. The sample log output matches the real output.llmsTxtFilename: 'llms-original.txt'example: withgenerateMarkdownFileson, every links file points at the.mdfiles.Newly documented
llms-full.txtpage structure, draft skipping, and theVersion: currentlabel inversions: 'auto'mode.useRelativeUrls.Structure and prose
DocsSectionandCustomLLMFilefield tables live only in the configuration reference;content-generation.mdlinks to them. The two copies had drifted.content-cleaning.md.Dogfood site
description, andwebsite/docusaurus.config.jssetsincludeOrderfromsidebars.js. The site'sllms.txtnow lists pages in sidebar order with full summaries; before, entries were alphabetical and descriptions were cut mid-sentence or contained raw relative links.Testing
npm testpasses.websitebuilds with no broken links or anchors; the generatedllms.txtwas checked by hand.