Skip Navigation
InitializerInitializer

init(mappings:packages:)

Creates external documentation from configured base URLs.

init(
    mappings: [String : URL],
    packages: [PackageModules] = []
)

Parameters

mappings

The base URLs keyed by module or package name, as in externalDocumentationURLs.

packages

The packages whose modules package keys apply to.

Discussion

Every key is used as a module name; a key that also matches the name or identity of one of packages applies to all modules of that package unless a key names the module itself.