Initializer
init(from:source:for:problems:)
Initializes a new article with a given markup and source for a given documentation bundle and documentation context.
convenience init?(from markup: any Markup, source: URL?, for bundle: DocumentationBundle, problems: inout [Problem])
Parameters
markupThe markup that makes up this article’s content.
sourceThe location of the file that this article’s content comes from.
bundleThe documentation bundle that the source file belongs to.
problemsA mutable collection of problems to update with any problem encountered while initializing the article.