class

Hwaro::Models::BuildConfig

Inherits Reference < Object

Build configuration section

Constructors

Instance methods

cache
Source
cache=(cache : Bool | Nil)
Source
drafts
Source
drafts=(drafts : Bool | Nil)
Source
hooks
Source
hooks=(hooks : BuildHooksConfig)
Source
output_dir

Defaults for the matching hwaro build flags. Nil means the key is absent from config.toml, which is what keeps the precedence chain honest: a command-line flag beats config.toml, config.toml beats the built-in default, and an absent key changes nothing. See Config::Options::BuildOptions#apply_build_config! for the merge.

Source
output_dir=(output_dir : String | Nil)

Defaults for the matching hwaro build flags. Nil means the key is absent from config.toml, which is what keeps the precedence chain honest: a command-line flag beats config.toml, config.toml beats the built-in default, and an absent key changes nothing. See Config::Options::BuildOptions#apply_build_config! for the merge.

Source
parallel
Source
parallel=(parallel : Bool | Nil)
Source
template_deps

Track template extends/include/import dependencies so a template edit only invalidates the pages that actually render it (cached builds and hwaro serve). Set to false to restore the previous behavior: any template change rebuilds every page.

Source
template_deps=(template_deps : Bool)

Track template extends/include/import dependencies so a template edit only invalidates the pages that actually render it (cached builds and hwaro serve). Set to false to restore the previous behavior: any template change rebuilds every page.

Source
write_stats

Write hwaro_stats.json (the tags/classes/ids of every rendered page) at the project root for utility-CSS tools such as Tailwind.

Source
write_stats=(write_stats : Bool)

Write hwaro_stats.json (the tags/classes/ids of every rendered page) at the project root for utility-CSS tools such as Tailwind.

Source