InitializerInitializerinit(navigation
init(navigationIndex:deprecatedPagePaths:)
Creates a new navigation sidebar builder.
init(
navigationIndex: NavigationIndex ,
deprecatedPagePaths: Set<String> = []
)Parameters
navigationIndexThe navigation index to build from.
deprecatedPagePathsThe paths of deprecated pages, normalised with
page.Path Key(_:)
Discussion
Not every version of docc flags unconditionally deprecated symbols in the navigation index, so pages known to be deprecated can be named as well.