diff --git a/docs/book.toml b/docs/book.toml index 77ec9d4..aa7e72e 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -5,6 +5,12 @@ multilingual = false src = "src" title = "Jalil's NixOS configuration modules" +[build] +create-missing = false + [preprocessor.toc] command = "mdbook-toc" renderer = ["html"] + +[output.html] +git-repository-url = "https://github.com/jalil-salame/configuration.nix" diff --git a/flake-modules/docs.nix b/flake-modules/docs.nix index d296e38..594d592 100644 --- a/flake-modules/docs.nix +++ b/flake-modules/docs.nix @@ -62,7 +62,7 @@ ''; # FIXME: only add the `/configuration.nix/` part for GH CI nativeBuildInputs = [ pkgs.mdbook-toc ]; - buildPhase = "${pkgs.mdbook}/bin/mdbook build --dest-dir \"$out\""; + buildPhase = "${pkgs.mdbook}/bin/mdbook build --dest-dir $out"; }; }; }; diff --git a/flake.lock b/flake.lock index 2d7a61a..6d23f40 100644 --- a/flake.lock +++ b/flake.lock @@ -353,15 +353,16 @@ ] }, "locked": { - "lastModified": 1749419246, - "narHash": "sha256-rQctLGA1kF8B/wLIe7TTy+mQk23/zkkKzy/dr3nCAvE=", + "lastModified": 1749507435, + "narHash": "sha256-EHlfZyOywnFxU3f7bgaEio073LO/HwqQjdTQRKaqUuk=", "owner": "NuschtOS", "repo": "search", - "rev": "b8a5bb93097d5a5f51c2ca136d1fe33e06188f31", + "rev": "ca64563e12ec6f54842bb6182a3d2b9517d54bed", "type": "github" }, "original": { "owner": "NuschtOS", + "ref": "pull/232/head", "repo": "search", "type": "github" } diff --git a/flake.nix b/flake.nix index 795adef..0152d12 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,7 @@ }; # For generating the docs (can be set to null) nuschtosSearch = { - url = "github:NuschtOS/search"; + url = "github:NuschtOS/search/pull/232/head"; # fix inputs = { nixpkgs.follows = "nixpkgs"; flake-utils.follows = "lix-module/flake-utils";