wdoc
Summary
WCL's static-site and skill generator: declare pages and sites in WCL and render them to HTML, Markdown, a Claude skill folder, or PDF.
| Version | 0.24.1-alpha |
| Created | 2026-06-20 |
| Last updated | — |
| Maintainer | ai@wiltaylor.dev |
wdoc is a WCL-driven document system. You write pages (made of blocks — headings, paragraphs, code, callouts, tables, and a deep family of SVG diagrams) and group them into sites that pick a template (:webpage, :book, :presentation, :ai_skill). The wcl wdoc CLI renders a document to HTML (build), a folder of Markdown (markdown), a Claude Code skill folder (skill), or PDF (pdf), and serves it with live reload (serve). Because pages are WCL, content can be projected from a typed data model with components (wdoc_repeater, wdoc_component) and addressable bodies (body / project) — which is exactly how a wskill renders.
§ 1Artifacts
The views this wskill ships — build them with just render (or the per-view recipes).
| View | Entry | Output |
|---|---|---|
| book | wdoc/book/main.wcl | out/book |
| ai skill | wdoc/skill/main.wcl | out/skill |
| presentation | wdoc/presentation/main.wcl | out/presentation |
| training | wdoc/training/main.wcl | out/training |
| Name | Relation | Status |
|---|---|---|
| WCL | prerequisite — wdoc documents are written in WCL | exists |
§ 3Sources
Sources drive the update workflow only — they are not topic content.
| ID | Kind | Locator | Covers | Last checked | Reflects version |
|---|---|---|---|---|---|
| wdoc_docs | docs | /home/wil/dev/WCL/docs/pages/reference/wdoc | The authoritative wdoc reference: a page per block family and render concept. | 2026-06-20 | 0.24.1-alpha |
| wdoc_stdlib | repo | /home/wil/dev/WCL/crates/wcl_wdoc/lib | The wdoc standard library — the WCL definitions of every block type and template. | 2026-06-20 | 0.24.1-alpha |
| wdoc_cli | cli | wcl wdoc --help | Render-target help text for build/markdown/skill/pdf/serve. | 2026-06-20 | 0.24.1-alpha |