1
0

pkgs/nixfiles-docs: Init docs

This commit is contained in:
2025-11-22 22:39:27 +01:00
parent 7c8832c1cd
commit 7ed74d376b
5 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{
stdenv,
mkdocs-material
}:
stdenv.mkDerivation {
name = "nixfiles-docs";
src = ../../docs;
buildInputs = [
mkdocs-material
];
buildPhase = ''
python3 -m mkdocs build
'';
installPhase = ''
mkdir -p $out
cp -r ./site/* $out/
'';
}