File tree Expand file tree Collapse file tree 2 files changed +2
-25
lines changed Expand file tree Collapse file tree 2 files changed +2
-25
lines changed Original file line number Diff line number Diff line change 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\" npx docusaurus build" ,
10+ "build" : " cross-env NODE_OPTIONS=--max-old-space-size=16384 npx docusaurus build" ,
1111 "swizzle" : " npx docusaurus swizzle" ,
1212 "clear" : " npx docusaurus clear" ,
1313 "serve" : " npx serve -s build -l 8080" ,
Original file line number Diff line number Diff line change @@ -718,32 +718,9 @@ export function hasKBContent(productId) {
718718 */
719719export function generateDocusaurusPlugins ( ) {
720720 const plugins = [ ] ;
721-
721+
722722 // Filter products if DOCS_PRODUCT environment variable is set
723723 const targetProduct = process . env . DOCS_PRODUCT ;
724-
725- // Special case: if DOCS_PRODUCT=kb, build only KB plugin
726- if ( targetProduct === 'kb' ) {
727- // Add KB plugin for centralized Knowledge Base content
728- plugins . push ( [
729- '@docusaurus/plugin-content-docs' ,
730- {
731- id : 'kb' ,
732- path : 'docs/kb' ,
733- routeBasePath : 'docs/kb' ,
734- sidebarPath : false , // KB uses individual sidebars in product plugins
735- editUrl : 'https://github.com/netwrix/docs/tree/main/' ,
736- exclude : [ '**/CLAUDE.md' , '**/docs-staging/**' ] ,
737- versions : {
738- current : {
739- label : 'Knowledge Base' ,
740- } ,
741- } ,
742- } ,
743- ] ) ;
744- return plugins ;
745- }
746-
747724 const productsToProcess = targetProduct
748725 ? PRODUCTS . filter ( product => product . id === targetProduct )
749726 : PRODUCTS ;
You can’t perform that action at this time.
0 commit comments