init(from: Decoder) throws init(from:)Decodes theme settings, warning about unknown keys and feature switches.
Root structure of a theme-settings.json file.
struct ThemeSettingsInputThis is the single model of the swift-docc-render theme format used by both the build-time theme compiler and the runtime theme loader. Unknown keys at any level trigger warnings through the current warning handler, so that a misspelt key is reported instead of being silently ignored.
init(from: Decoder) throws init(from:)var features: [String : ThemeSettingValue ]? featuresfeatures section.var meta: [String : AnyCodable ]? metavar theme: ThemeInput themefunc isEnabled (ThemeFeatureFlag ) -> Bool isstatic func parse(Data, warningHandler : (any ThemeParsingWarningHandler )?) throws -> ThemeSettingsInput parse(_:static func parse(contentsOf : URL, warningHandler : (any ThemeParsingWarningHandler )?) throws -> ThemeSettingsInput parse(contentsSwift.Decodable Swift.Encodable Swift.Equatable Swift.Sendable Swift.SendableMetatype