Skip to content

Commit c2c42e5

Browse files
jake-mahon-netwrixJake Mahonclaude
authored
Change default build to build full site with original memory settings (#212)
* Change default build to build full site with original memory settings - Remove DOCS_PRODUCT=kb from default build script - Add build-kb script for KB-only builds when needed - Default build now builds all products with original 16GB memory limit - Keep build configuration simple and consistent 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Set all broken link configurations to 'throw' for strict validation - Change onBrokenLinks from 'warn' to 'throw' - Change onBrokenMarkdownLinks from 'warn' to 'throw' - Change onBrokenAnchors from 'warn' to 'throw' - Ensures builds fail on any broken links for quality control 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Remove build-kb script - keep build configuration simple - Remove build-kb script option - Only keep default build script for full-site builds - Simplifies build configuration and removes unnecessary options 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Jake Mahon <[email protected]> Co-authored-by: Claude <[email protected]>
1 parent a2a402c commit c2c42e5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ const config = {
2121
baseUrl: '/',
2222

2323
// throw on anything that is not configured correctly
24-
onBrokenLinks: 'warn',
25-
onBrokenMarkdownLinks: 'warn',
26-
onBrokenAnchors: 'warn',
24+
onBrokenLinks: 'throw',
25+
onBrokenMarkdownLinks: 'throw',
26+
onBrokenAnchors: 'throw',
2727

2828
// Set Mermaid
2929
markdown: {

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"docusaurus": "npx docusaurus",
88
"start": "cross-env NODE_OPTIONS=--max-old-space-size=16384 CHOKIDAR_USEPOLLING=false npx docusaurus start --port=4500 --no-open",
99
"start-chok": "cross-env NODE_OPTIONS=--max-old-space-size=16384 CHOKIDAR_USEPOLLING=true npx docusaurus start --port=4500 --no-open",
10-
"build": "cross-env NODE_OPTIONS=\"--max-old-space-size=16384\" DOCS_PRODUCT=kb npx docusaurus build",
11-
"build-full": "cross-env NODE_OPTIONS=\"--max-old-space-size=31744 --max_old_space_size=31744\" npx docusaurus build",
10+
"build": "cross-env NODE_OPTIONS=\"--max-old-space-size=16384\" npx docusaurus build",
1211
"swizzle": "npx docusaurus swizzle",
1312
"clear": "npx docusaurus clear",
1413
"serve": "npx serve -s build -l 8080",

0 commit comments

Comments
 (0)