This commit is contained in:
commit
95a533c876
451 changed files with 18255 additions and 0 deletions
25
pkgs/synix-docs/default.nix
Normal file
25
pkgs/synix-docs/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
stdenv,
|
||||
python313,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
python = python313.withPackages (
|
||||
p: with p; [
|
||||
mkdocs
|
||||
mkdocs-material
|
||||
mkdocs-material-extensions
|
||||
pygments
|
||||
]
|
||||
);
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "synix-docs";
|
||||
src = ./../../.;
|
||||
nativeBuildInputs = [
|
||||
python
|
||||
];
|
||||
buildPhase = "mkdocs build --strict --verbose";
|
||||
installPhase = "cp -r site $out";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue