Method
buildMultiModuleSidebar(allModules:currentModuleName:currentPath:depth:)
Builds a sidebar showing all modules with expandable navigation.
mutating func buildMultiModuleSidebar(allModules: [NavigationNode], currentModuleName: String, currentPath: String, depth: Int) -> String
Discussion
Modules are shown in Package.swift order. The current module is expanded, while other modules are collapsed.