15 lines
299 B
Nix
15 lines
299 B
Nix
{ stdenvNoCC, nix-gitignore, sphinx, furo }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
name = "agtest-docs";
|
|
src = nix-gitignore.gitignoreSource [ ../.gitignore ] ./..;
|
|
|
|
buildInputs = [ sphinx furo ];
|
|
buildPhase = ''
|
|
make -C docs html
|
|
'';
|
|
|
|
installPhase = ''
|
|
cp -r docs/_build/html $out
|
|
'';
|
|
}
|