The page

This page gives the shape of a page of docs. It has the first sentence, the order of the sections, and the four kinds of pages with a template for each.

The first sentence

The first sentence says what the reader gets from the page. A reader decides in that sentence if the page is the right one. Flight Manual makes the first paragraph the meta description, so search engines show it too.

These first sentences come from the docs of ztcl and ztk:

The four kinds of pages

Give each page one kind. A page that mixes kinds makes a reader with a task read the theory, and a reader who wants a fact read the steps.

Kind The reader wants The page has Template
Start A first result, fast Steps in order, each with a command and its output start.md
Guide To do one task The steps of the task, the check of the result, and the repair of each fault guide.md
Reference One exact fact Each command, option, key, or error, in one form, complete reference.md
Explanation To understand How a part works and why, with no instructions explanation.md

The docs of Flight Manual have the four kinds as the four groups of the menu.

The order of the sections

Lists, tables, and pictures

Code and output

Show each command with its output, in a code block with a language. Use console for a command and its output with a $ prompt, sh for commands only, and text for output alone.

$ flight-manual version
flight-manual 0.1.0

Limits

Say what does not work, and what was not tested. A reader who finds a limit in the docs loses minutes. A reader who finds it in production loses days. The Differences from Tk page of ztk is a page of limits only. What Flight Manual is has a part "What it does not do".

Next: Reference and examples.