module

Hwaro::Services::GeneratedContent

Instance methods

infos(content_dir : String, ignore : Models::ContentFilesConfig | Nil = nil) : Array(ContentInfo)

ContentInfo rows for every [[content.generate]] page this project's local data can plan. Empty when the listing does not target THIS project's content dir: config.toml and data/ are resolved from the working directory, so planning against a foreign --content-dir would interleave this project's generated rows into another site's listing.

ignore is the caller's [content] ignore rules (doctor's come from its --env config); the base config's when nil.

Source