Flight Manual
Flight Manual makes a docs site from a folder of Markdown files and one site file. It is one program file with the Tcl runtime of ztcl in it, and it needs no other program.
flight-manual build -strict _site
This command reads site.fm and the Markdown files of docs/, checks each link, and writes a static site to _site/: the pages, a menu, a search, and sitemap.xml.
Start
Do these pages in order. After them, you have a site on your own machine.
- What Flight Manual is: what it makes, and what it does not do.
- Install: the program for Linux, or the build from source.
- A first site: a site file, two pages, and a build.
- Examples: six complete sites, from a README site to a style of its own.
Guides
Each guide does one task, in the order of a real project.
- Write the pages: links, pictures, code, notes, and tables.
- Give a site its look: the built-in style, or a style of your own.
- Search: turn the search on or off, and test it.
- Check a site: fix each error and warning, and stop a bad build in CI.
- Deploy to GitHub Pages: a workflow that builds the site on each push.
- Move from another generator: the steps, and a compare of the old and the new site.
- Extend a site with a plugin: change the pages with Tcl.
Write good documentation
Rules for docs that a person or an AI agent can follow, with the docs of ztcl and ztk as the examples.
- Write good documentation: why the rules, and the order of the pages.
- The voice, The page, Reference and examples, Review a page, and Instructions for an agent.
Reference
Each fact of the program, complete and exact.
- Commands: each command and option of
flight-manual. - The site file: each key of the site file, and the list of pages.
- Styles and templates: the style folder, the slots of a template, and the rules of the page template.
- Search: the search page, the index, and a query.
- Plugins: the hooks of a plugin and its sandbox.
- The checks: each error and warning of a build.
Explanation
- How a build works: the steps from the site file to the output folder.
- The ztcl docs site: a large site with a plugin, and its compare with the old builder.
Next: What Flight Manual is.