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 b1ab10c commit 00c116c
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 @@ -27,6 +27,12 @@
packages = {
telegram-decoder = 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.telegram-decoder; nativeBuildInputs ++ buildInputs);
Expand Down

0 comments on commit 00c116c

Please sign in to comment.