flakedoc
Render a Nix flake's extracted documentation into a static site
- Name
flakedoc-0.1.0- pname
flakedoc- Version
0.1.0- Main program
flakedoc- Homepage
- https://github.com/calebstewart/stewos
- License
- Built for
aarch64-darwinx86_64-linux
- Platforms
aarch64-darwinaarch64-linuxaarch64-netbsdarmv5tel-linuxarmv6l-linuxarmv6l-netbsdarmv7a-linuxarmv7l-linuxarmv7l-netbsdi686-freebsdi686-linuxi686-netbsdi686-openbsdi686-windowsloongarch64-linuxm68k-linuxmips-linuxmips64-linuxmips64el-linuxmipsel-linuxmipsel-netbsdpowerpc-linuxpowerpc-netbsdpowerpc64-linuxpowerpc64le-linuxriscv32-linuxriscv32-noneriscv64-linuxriscv64-netbsds390x-linuxwasm32-wasiwasm32-wasip1x86_64-darwinx86_64-freebsdx86_64-linuxx86_64-netbsdx86_64-openbsdx86_64-redoxx86_64-solarisx86_64-windows
- Outputs
out
- Defined in
-
pkgs/flakedoc/default.nix
Details
The rendering half of the documentation generator; the extraction half is lib.docs, which evaluates a flake into the JSON this consumes. Everything it needs is compiled in -- templates, stylesheet, syntax grammars and search -- so it runs with no network and no writable store, and the site it emits is self-contained with every internal link relative. That last part is what lets the result be published under a path prefix on GitHub Pages.
Build it