wdoc Overview
wdoc is WCL's documentation generator. It supports different types of pages and is designed to allow you to present information in wcl files in a human readable format.
§ 1Build & serve
bash
§ 2Multi-site routing
A document can declare several site blocks. The site with root = true renders at the output root (/); other sites render into per-site subdirectories (/<site>/). A chooser index is auto-generated when no site is rooted.
§ 3Example
wcl
import <wdoc.wcl>
page index { sites = [:mysite] start = true
h1 "My project"
p "Welcome — see [the docs](docs)."
}