docs: self host documentation with mkDocs

This commit is contained in:
Johannes Kirschbauer
2024-04-12 15:22:20 +02:00
parent f61a78a1cf
commit 1e08a454fb
18 changed files with 142 additions and 31 deletions

13
docs/flake-module.nix Normal file
View File

@@ -0,0 +1,13 @@
{ inputs, ... }:
{
perSystem =
{ self', pkgs, ... }:
{
devShells.docs = pkgs.callPackage ./shell.nix { inherit (self'.packages) docs; };
packages = {
docs = pkgs.python3.pkgs.callPackage ./default.nix { inherit (inputs) nixpkgs; };
};
checks = self'.packages.clan-cli.tests;
};
}