colmena/manual
Zhaofeng Li f234e16e80 manual: Fix colorized CLI help
In clap 3.0, it's no longer possible to get `App::write_long_help` to
output colorized text (it doesn't invoke the Colorizer at all). So let's
move the generation outside of Rust.
2022-01-03 10:37:03 -08:00
..
src manual: Fix colorized CLI help 2022-01-03 10:37:03 -08:00
theme Add manual 2021-11-17 22:21:00 -08:00
.gitignore Add manual 2021-11-17 22:21:00 -08:00
book.stable.toml Move closer to release 2021-11-18 13:15:20 -08:00
book.toml Move closer to release 2021-11-18 13:15:20 -08:00
colorized-help.nix manual: Fix colorized CLI help 2022-01-03 10:37:03 -08:00
default.nix manual: Fix colorized CLI help 2022-01-03 10:37:03 -08:00
preprocess.py Move closer to release 2021-11-18 13:15:20 -08:00
README.md Move closer to release 2021-11-18 13:15:20 -08:00

Manual

You can read the rendered version here.

Building the Manual

The manual is rendered using mdBook. To build the manual, do nix build .#manual. You can also do nix build .#manualFast for a version without the CLI usage reference.

Marking Text for Specific Versions

You can mark text to be only visible in the unstable version of the manual:

<!-- UNSTABLE_BEGIN -->
You are currently reading the unstable version of the Colmena Manual.
Features described here will eventually become a part of version @apiVersion@.
<!-- UNSTABLE_END -->

The opposite can be done with the STABLE_{BEGIN,END} markers:

<!-- STABLE_BEGIN -->
You are currently reading the version @apiVersion@ of the Colmena Manual.
<!-- STABLE_END -->

Substitutions

  • @version@ - Full version string
  • @apiVersion@ - Stable API version string (major.minor)