Skip to content

Commit 93ffdb0

Browse files
Merge pull request #219 from netwrix/test-disable-kb-sidebar
DIAGNOSTIC TEST: Disable generateKBSidebar function (single file)
2 parents b9b48f6 + ef3b1a4 commit 93ffdb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/utils/generateKBSidebar.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ function cleanSlug(filename, productName) {
7979
}
8080

8181
function generateKBSidebar(productName) {
82+
// DIAGNOSTIC TEST: Return empty array to test if this function causes broken KB links
83+
// TODO: Remove this return statement after diagnostic test
84+
return [];
85+
8286
// Find the project root by looking for package.json
8387
let currentDir = __dirname;
8488
while (!fs.existsSync(path.join(currentDir, 'package.json')) && currentDir !== '/') {

0 commit comments

Comments
 (0)