Merge pull request #50 from hummingbird-project/docc-changes

Inconsistency in documentation brought up by docc v6
This commit is contained in:
Joannis Orlandos
2024-09-14 09:36:05 +03:00
committed by GitHub

View File

@@ -28,8 +28,7 @@ public struct MustacheLibrary: Sendable {
/// ///
/// Each template is registered with the name of the file minus its extension. The search through /// Each template is registered with the name of the file minus its extension. The search through
/// the folder is recursive and templates in subfolders will be registered with the name `subfolder/template`. /// the folder is recursive and templates in subfolders will be registered with the name `subfolder/template`.
/// - Parameter directory: Directory to look for mustache templates /// - Parameter templates: Dictionary of mustache templates
/// - Parameter extension: Extension of files to look for
public init(templates: [String: MustacheTemplate]) { public init(templates: [String: MustacheTemplate]) {
self.templates = templates self.templates = templates
} }