Documentation Language: Swift

Structure

NavigationSidebarBuilder

Builds the navigation sidebar HTML from a navigation index.

struct NavigationSidebarBuilder

Overview

This builder creates a hierarchical sidebar with:

Topics

Initializers

?
init(navigationIndex:)

Creates a new navigation sidebar builder.

Instance Methods

F
buildModuleSection(_:isCurrentModule:currentPath:depth:)

Builds a module section in the multi-module sidebar.

F
buildMultiModuleSidebar(allModules:currentModuleName:currentPath:depth:)

Builds a sidebar showing all modules with expandable navigation.

F
buildSidebar(moduleName:currentPath:depth:)

Builds the sidebar HTML showing all modules with the current module expanded.

Relationships

Conforms To