What Flight Manual is
This page says what Flight Manual makes, how it works, and what it does not do, so that you can decide if it fits your project.
What it makes
Flight Manual reads a site file and a folder of Markdown files. It writes a static site: a folder of HTML pages that each web server can send, with no program on the server.
The site has:
- a page for each Markdown file, with a menu in groups, a table of contents, and the links to the previous and the next page;
- the highlight of code in Tcl, the shell, Zig, and JSON, the notes of GitHub (
[!NOTE]), and tables that scroll on a narrow screen; - a light and a dark theme that follow the setting of the reader, with no script;
- a search that runs in the browser of the reader, with an index that the build makes;
sitemap.xml,llms.txt, andllms-full.txt, for search engines and for AI agents.
Each build checks each link and each anchor. A dead link stops the build. A picture with no alternative text, a heading that skips a level, and a pair of colors with too little contrast give warnings, and -strict makes them errors.
How it works
- Flight Manual is one program file. The Tcl runtime of ztcl is in it. You do not install Tcl, Python, Node.js, or a package.
- It reads Markdown with
ztcl::markdown, which follows CommonMark 0.31.2 and the extensions of GitHub. - It runs with the capabilities
file,channels, andinterpof ztcl. It reads the files of the site and writes the output folder. It does not run other programs and does not use the network. - A plugin of a site runs in a safe child interpreter. A plugin reads files of the site only if the site file gives it
allow file. - The same input gives the same output.
What it does not do
These limits are true for version 0.1.0:
- It has two built-in styles,
modernandbeetlebug. A site can give its own style folder. - It builds a site in one language.
- Raw HTML in Markdown shows as text, and so does an HTML comment, except with
html keepin the site file. A plugin can write HTML. - Front matter (a block of YAML between
---lines) is not part of CommonMark. It shows as text. - The highlight knows four languages: Tcl, the shell, Zig, and JSON.
- It makes no PDF book yet.
- The release has a program for Linux on x86_64 only. On macOS and Windows, build it from source.
Next: Install.