Docs
The complete reference — config, CLI, writing pages, the PHP class library.
Config
Everything kirigami.yaml can hold — the kirigami:, seo:, prepros:, image:, plugins:, esbuild:, sass:, export:, scripts: and tasks: blocks.
CLI
Every kiri command, with its flags and real example output — build, export, watch, serve, run, create, install, cache, phpinfo.
Writing pages
The PHPDOC header, auto-loaded data files, built-in tags, and the hooks a plugin registers into.
PHP class library
Every autoloaded class available in pages, before/after includes, prepros.includes, and kiri run scripts.
New to Kirigami? These four pages are the reference — precise, but terse. If you want a guided walk instead, start with Getting started — the tutorial builds a real small site, one concept per part, and links back here wherever a reference page has the full detail.
Every fenced code block on this site, including every example below, is colored at build time by @kirigami/plugin-highlight — zero bytes of highlight.js reach your browser. Hover a block for the copy button.
The card grid above isn't hand-written: it comes from FS::getChildren(), walking this page's own sub-folders. Add a fifth _index.php under docs/ and it appears here on the next build, no list to maintain.