cli-docs: add automatic markdown cli docs

This commit is contained in:
Johannes Kirschbauer
2024-05-07 13:23:03 +02:00
parent 7c1852507e
commit d7f3b6a1e0
7 changed files with 173 additions and 35 deletions

View File

@@ -54,19 +54,17 @@
in
{
devShells.docs = pkgs.callPackage ./shell.nix {
inherit (self'.packages) docs;
inherit (self'.packages) docs clan-cli-docs;
inherit module-docs;
};
packages = {
docs = pkgs.python3.pkgs.callPackage ./default.nix {
inherit (self'.packages) clan-cli-docs;
inherit (inputs) nixpkgs;
inherit module-docs;
};
deploy-docs = pkgs.callPackage ./deploy-docs.nix { inherit (config.packages) docs; };
inherit module-docs;
};
legacyPackages = {
foo = jsonDocs;
};
};
}