Skip to content

Commit

Permalink
refactor(docs): rename markdown packages
Browse files Browse the repository at this point in the history
This makes the size report look better as the docs are grouped together.
  • Loading branch information
jalil-salame committed Dec 15, 2024
1 parent e7cf864 commit 05ec4d3
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions flake-modules/docs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,22 @@
perSystem =
{ pkgs, ... }:
{
packages = {
# Documentation
inherit (import ../docs { inherit pkgs lib; })
docs
nixos-markdown
nvim-markdown
home-markdown
;
};
packages =
let
docs-pkg = import ../docs { inherit pkgs lib; };
inherit (docs-pkg)
docs
home-markdown
nixos-markdown
nvim-markdown
;
in
{
# Documentation
inherit docs;
docs-home-markdown = home-markdown;
docs-nixos-markdown = nixos-markdown;
docs-nvim-markdown = nvim-markdown;
};
};
}

0 comments on commit 05ec4d3

Please sign in to comment.