wdoc — training

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.

Work through the lessons in order — each builds on the previous one, and every lesson ends with exercises you can check against the expected results.

§ 1Lessons

1. Your first page — Write a minimal wdoc page and preview it with the dev server.

2. A book site and its table of contents — Group pages into a site, pick the :book template, and wire the sidebar with toc.

3. Formatting, callouts, and columns — The everyday blocks: inline patterns, admonition callouts, and side-by-side layout.

4. Tables and lists — Pipe-row tables and nestable lists — with inline patterns inside every cell and item.

5. Images and assets — Embed images on pages and in diagrams, and understand how assets ship with the build.

6. Your first diagram — Shapes on a canvas, a -> b connections, and letting the layered layout place a flowchart.

7. Charts and timelines from data — Plot series data with bar_chart and put real dates on a timeline — both inside a diagram.

8. Components and repeaters — Declare data once, then stamp markup from it with wdoc_component, slots, and wdoc_repeater.

9. Addressable bodies and projection — Attach renderable content to your own typed data records and render it elsewhere with project — the wskill mechanism.

10. Render targets — One model, four outputs: HTML, Markdown, a skill folder, and PDF.

11. Visibility and themes — Scope blocks per site, template, or backend with @only / @except, and restyle a whole site in one line.

12. The review loop — Pin comments on the served site, work through them from the CLI, and hand off rounds with the review handshake.