Skip to content

Commit 23aa890

Browse files
fix conflicts
2 parents a3240b6 + 16e21ac commit 23aa890

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +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\" 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",

src/config/products.js

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -718,32 +718,9 @@ export function hasKBContent(productId) {
718718
*/
719719
export 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;

0 commit comments

Comments
 (0)