Skip to content

Commit

Permalink
add code for building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Nov 20, 2023
1 parent eea97e0 commit ab64ff6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
packages = {
data-accumulator = package;
default = package;
docs = (pkgs.nixosOptionsDoc {
options = (nixpkgs.lib.nixosSystem {
inherit system;
modules = [ self.nixosModules.default ];
}).options.TLMS;
}).optionsCommonMark;
};
devShells.default = pkgs.mkShell {
nativeBuildInputs = (with packages.data-accumulator; buildInputs ++ nativeBuildInputs);
Expand Down

0 comments on commit ab64ff6

Please sign in to comment.