feat(docs): server

This commit is contained in:
Sk7Str1p3 2026-04-19 23:11:06 +03:00
parent 110efa2bd6
commit f0a1b103e0
No known key found for this signature in database
GPG key ID: 4DD995933D06D43B
3 changed files with 27 additions and 1 deletions

View file

@ -18,12 +18,14 @@
generator uses orderKey of type "{num}|{mdPath}" and derives indentation from path's depth,
so chapters have proper order.
run `nix build .#docBuild` to build documentation
run `nix build .#docBuild` to build documentation.
run `nix run .#docServe` to serve documentation site
*/
{
perSystem =
{ pkgs, ... }:
rec {
packages.docBuild = pkgs.callPackage ../docs/docgen.nix { };
packages.docServe = pkgs.callPackage ../docs/server.nix { doc = packages.docBuild; };
};
}