-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
docs: fix docs build #1336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: fix docs build #1336
Changes from all commits
4001b17
451b082
7bed9a3
bdd3529
b15a789
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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(), | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This suppresses a noisy warning about a problem that we're already well aware of. Why does it need to be deleted? PR comment doesn't mention it.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Because it was breaking docs:build locally. Node 22 rejects that NODE_OPTIONS flag: node: --disable-warning= is not allowed in NODE_OPTIONS So the build died before Astro even ran. Removing the override lets Astro run normally. |
||
| }, | ||
| }); | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.