Documentation Language: Swift

Method

merge(_:)

Merges multiple navigation indices into a single combined index.

static func merge(_ indices: [NavigationIndex]) -> NavigationIndex

Parameters

indices

The navigation indices to merge.

Return Value

A combined navigation index containing all modules.

Discussion

This is used to combine navigation from multiple DocC archives into a single sidebar that shows all modules.