Skip to content

Commit

Permalink
fix: use only mdbook, filesets
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Jan 4, 2024
1 parent e821d53 commit 86be0ea
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@
, modules-docs
, stdenv
, lib
, mdbook-pagetoc
}:
with lib;
stdenv.mkDerivation {
name = "devshell-docs";
buildInputs = [ mdbook mdbook-pagetoc ];
buildInputs = [ mdbook ];
src =
let fs = lib.fileset; in
fs.toSource {
root = ./.;
fileset = fs.unions [
(fs.fileFilter (file: file.hasExt "md") ./.)
(fs.fileFilter (file: file.hasExt "md") ./src)
(fs.fileFilter (file: true) ./theme)
./book.toml
./theme/pagetoc-tweaks.css
];
};

Expand Down

0 comments on commit 86be0ea

Please sign in to comment.