docs: clean up directory structure
This commit is contained in:
23
docs/nix/default.nix
Normal file
23
docs/nix/default.nix
Normal 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/
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user