docs: generate api docs

This commit is contained in:
Johannes Kirschbauer
2024-04-16 19:06:45 +02:00
parent 581b48b518
commit 9a3f27ea08
10 changed files with 308 additions and 166 deletions

View File

@@ -1 +1,16 @@
{ docs, pkgs, ... }: pkgs.mkShell { inputsFrom = [ docs ]; }
{
docs,
pkgs,
module-docs,
...
}:
pkgs.mkShell {
inputsFrom = [ docs ];
shellHook = ''
mkdir -p ./site/reference
cp -af ${module-docs}/* ./site/reference/
chmod +w ./site/reference/*
echo "Generated API documentation in './site/reference/' "
'';
}