{ stdenv , mkdocs , ... }: stdenv.mkDerivation { name = "docs"; preferLocalBuild = true; allowSubstitutes = false; src = ./.; buildCommand = '' cd "$src" ${mkdocs}/bin/mkdocs build --site-dir "$out" ''; }