Skip to content

Write Beautiful Docs

A practical tutorial for creating clear, beautiful, and maintainable technical content with OINK.

Write Beautiful Docs is the tutorial companion to the OINK reference. The reference tells you what each parameter and component does; this book follows one site from its first local preview to a reviewed, published result.

The first three chapters contain working material. Later chapters deliberately show the Book draft state while their full walkthroughs are being written.

Contents

Figures

  1. Figure 1-1 — The first milestone is a site a reader can open, not a configuration file that merely looks plausible.

Tables

  1. Table 2-1 — One explicit order is reused by navigation, paging, and generated contents.
  2. Table 6-1 — Each delivery state needs its own evidence and handoff.
  3. Table A-1 — One source tree can expose several purpose-specific Book outputs.

Equations

  1. Equation 3.1 — A page fails when any one of clarity, accuracy, or consistency falls to zero.

Examples

  1. Example 3-1 — A page contract with one stable title, one summary, and an explicit place in the tree.

How to read this book

Read chapters 1–3 in order when starting a site. Return to chapters 4–6 when you are shaping the public presentation and preparing a release. The appendix is a copy-and-adapt reference for the front matter patterns used throughout.

Install the one required tool, run a local preview, and establish a visible baseline before changing the design.

Turn directories, section indexes, page bundles, and weights into one predictable reading and navigation order.

Combine prose, callouts, code, media, tables, and mathematics without turning the page into a component catalogue.

Turn a sound content structure into a recognizable, responsive, and bilingual publication.

Separate local preview, repository integration, theme release, and hosted deployment, then verify each state with the right evidence.

Copy-and-adapt contracts for Book roots, chapters, immersive Blog posts, and generated Book outputs.