Skip to content

Commit

Permalink
feat(docs): Build docs for all mnn and mnn-sys
Browse files Browse the repository at this point in the history
  • Loading branch information
uttarayan21 committed Oct 8, 2024
1 parent 7507380 commit 3df9c3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@
inherit cargoArtifacts;
cargoClippyExtraArgs = "--all-targets -- --deny warnings";
});
mnn-docs = craneLib.cargoDoc (commonArgs // {inherit cargoArtifacts;});
mnn-docs = craneLib.cargoDoc (commonArgs
// {
inherit cargoArtifacts;
cargoDocExtraArgs = "-p mnn -p mnn-sys";
});
mnn-fmt = craneLib.cargoFmt {inherit src;};
mnn-toml-fmt = craneLib.taploFmt {
src = pkgs.lib.sources.sourceFilesBySuffices src [".toml"];
Expand Down

0 comments on commit 3df9c3d

Please sign in to comment.