docs: clean up directory structure

This commit is contained in:
Johannes Kirschbauer
2024-04-13 14:42:37 +02:00
parent 4b152ddd5e
commit 77921f9c79
23 changed files with 10 additions and 12 deletions

23
docs/nix/default.nix Normal file
View File

@@ -0,0 +1,23 @@
{ pkgs, ... }:
pkgs.stdenv.mkDerivation {
name = "clan-documentation";
src = ../.;
nativeBuildInputs =
[ pkgs.python3 ]
++ (with pkgs.python3Packages; [
mkdocs
mkdocs-material
]);
buildPhase = ''
mkdocs build --strict
ls -la .
'';
installPhase = ''
cp -a site/ $out/
'';
}