| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
🟡 Heimdall Review Status
|
Sorry, something went wrong.
discoverTopLevelSections() treats every directory under docs/ as a documentation section unless it is in CONSTANTS.skipDirs. docs/static/ holds assets (docs/static/assets/), not docs, so the generated docs/AGENTS.md gets an entry pointing at docs/static/llms.txt, which does not exist. Adds 'static' alongside the other asset directories already skipped (images, videos, logo). Fixes base#1806.
| Back | FazBrowse Home | New Git URL |
Summary
docs/AGENTS.md currently links to ./static/llms.txt, which does not exist. This fixes the root cause in the generator.
Root cause
discoverTopLevelSections() in scripts/lib/docs-utils.js treats every directory under docs/ as a documentation section unless it is listed in CONSTANTS.skipDirs.
docs/static/ is not a documentation section — it only contains docs/static/assets/. Since it was not excluded, the generator emitted a section entry for it, producing a link to a llms.txt that is never generated.
Fix
Add 'static' to CONSTANTS.skipDirs, consistent with how images, videos, logo and openapi are already excluded.
skipDirs: [ 'node_modules', '.git', 'dist', 'build', 'coverage', - '.next', 'images', 'videos', 'logo', 'openapi', '.claude', 'snippets' + '.next', 'images', 'videos', 'logo', 'openapi', '.claude', 'snippets', 'static' ],After this change, regenerating docs/AGENTS.md will no longer emit the - [Static](./static/llms.txt) entry.
Verification
Fixes #1806