Skip to content

Conversation

@jake-mahon-netwrix
Copy link
Contributor

Summary

  • Fixed generateKBSidebar function to properly handle index.md files by linking to parent directories instead of /index paths
  • Created 10 missing KB index.md files for product folders that lacked them
  • Resolves broken KB navigation links that were causing MDX compilation failures

Changes

  • src/utils/generateKBSidebar.js: Fixed index.md handling for both folder and root-level files
  • 10 new KB index files: Created index.md files for all product KB folders

Test plan

  • Verified generateKBSidebar function generates correct paths for index.md files
  • Confirmed all new index.md files follow consistent format
  • Clean diff shows only 11 files (10 new + 1 modified)

🤖 Generated with Claude Code

- Fix generateKBSidebar function to handle index.md files correctly
  - Index files now link to parent directory (e.g., /docs/kb/product/)
  - Instead of broken /docs/kb/product/index paths
- Create missing index.md files for 10 KB product folders:
  - accessanalyzer, auditor, dataclassification, directorymanager
  - endpointprotector, general, privilegesecure, privilegesecurediscovery
  - threatmanager, threatprevention
- This should resolve the broken KB index link issues in strict validation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@jake-mahon-netwrix jake-mahon-netwrix changed the base branch from main to dev September 16, 2025 14:14
@jake-mahon-netwrix jake-mahon-netwrix merged commit b315185 into dev Sep 16, 2025
3 checks passed
@jake-mahon-netwrix jake-mahon-netwrix deleted the kb-index-files-only branch September 16, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants