Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/utils/generateKBSidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ function cleanSlug(filename, productName) {
}

function generateKBSidebar(productName) {
// DIAGNOSTIC TEST: Return empty array to test if this function causes broken KB links
// TODO: Remove this return statement after diagnostic test
return [];

// Find the project root by looking for package.json
let currentDir = __dirname;
while (!fs.existsSync(path.join(currentDir, 'package.json')) && currentDir !== '/') {
Expand Down