mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 12:56:30 +03:00
WIP: build ts docs with ci + nix
This commit is contained in:
committed by
missytake
parent
cf84255e99
commit
8a58ae8a3a
11
flake.nix
11
flake.nix
@@ -523,6 +523,17 @@
|
||||
buildPhase = ''sphinx-build -b html -a python/doc/ dist/html'';
|
||||
installPhase = ''mkdir -p $out; cp -av dist/html $out'';
|
||||
};
|
||||
jsonrpc-docs = pkgs.stdenv.mkDerivation {
|
||||
pname = "docs";
|
||||
version = manifest.version;
|
||||
src = pkgs.lib.cleanSource ./.;
|
||||
nativeBuildInputs = [
|
||||
pkgs.nodejs_21
|
||||
];
|
||||
buildPhase = "npm i && npm run docs";
|
||||
installPhase =
|
||||
"mkdir -p $out; cp -av deltachat-jsonrpc/typescript/docs $out";
|
||||
};
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
|
||||
Reference in New Issue
Block a user