We are using the following settings while editing the markdown docs.
{ "files.insertFinalNewline": true, "files.trimTrailingWhitespace": true, "[markdown]": { "rewrap.wrappingColumn": 70 } }
This manual is generated by mdBook. We are currently using a fork of it for the following additional features:
rustdoc --test from mdbook test with ./testTo build this manual, first install the fork via
cargo install --git https://github.com/leanprover/mdBook mdbook
Then use e.g. mdbook watch in the doc/ folder:
cd doc mdbook watch --open # opens the output in `out/` in your default browser
Run mdbook test to test all lean code blocks.
Using the Nix setup, you can instead open a shell with the mdBook fork downloaded from our binary cache:
nix develop .#doc