Hwaro::Services::Scaffolds::Docs
Inherits Hwaro::Services::Scaffolds::Base / Reference / Object
Instance methods
Docs ships section-specific archetypes so hwaro new getting-started/foo.md, guide/foo.md, and reference/foo.md
each auto-match (see Services::Creator#find_archetype) with
docs-shaped front matter (weight/toc) that a generic
default.md would miss.
Returns the config.toml content. multilingual_languages (from
--include-multilingual) is threaded through so the full config
emits a real, enabled [languages] block instead of the commented
placeholder.
Returns sample content files as a hash of path => content
Returns static files as a hash of path => content. Every
scaffold inherits a tiny SVG favicon so a freshly-generated
site doesn't show a blank tab icon. Scaffolds that override
static_files (blog/docs/book) merge super to keep it.
Docs templates share nav, search, and sidebar across page,
section, taxonomy, and 404 — extracting those into partials/
makes "edit the nav" a one-file change and keeps 404/taxonomy
inside the docs-container so footer.html's closing tags
actually match what the body opens.