docs: fix docs build (#1336)

* docs: fix docs build

* docs: conditional pre-commit

* fix: included more LLM exclude patterns

* fix: iclude docs:build

---------

Co-authored-by: Brian <bmadcode@gmail.com>
This commit is contained in:
Murat K Ozcan
2026-01-15 16:44:14 -06:00
committed by GitHub
parent 96f21be73e
commit 43f7eee29a
5 changed files with 48 additions and 5 deletions

View File

@@ -27,7 +27,17 @@ const REPO_URL = 'https://github.com/bmad-code-org/BMAD-METHOD';
const LLM_MAX_CHARS = 600_000;
const LLM_WARN_CHARS = 500_000;
const LLM_EXCLUDE_PATTERNS = ['changelog', 'ide-info/', 'v4-to-v6-upgrade', 'downloads/', 'faq'];
const LLM_EXCLUDE_PATTERNS = [
'changelog',
'ide-info/',
'v4-to-v6-upgrade',
'downloads/',
'faq',
'_STYLE_GUIDE.md',
'_archive/',
'reference/glossary/',
'explanation/game-dev/',
];
// =============================================================================
// Main Entry Point
@@ -335,7 +345,6 @@ function runAstroBuild() {
stdio: 'inherit',
env: {
...process.env,
NODE_OPTIONS: `${process.env.NODE_OPTIONS || ''} --disable-warning=MODULE_TYPELESS_PACKAGE_JSON`.trim(),
},
});
}