fix(docs): nuschtosSearch was broken #532

Merged
jalil merged 1 commit from push-ptuopwutvzlq into main 2025-06-10 00:29:31 +02:00
4 changed files with 12 additions and 5 deletions
Showing only changes of commit 25939fc9c9 - Show all commits

View file

@ -5,6 +5,12 @@ multilingual = false
src = "src" src = "src"
title = "Jalil's NixOS configuration modules" title = "Jalil's NixOS configuration modules"
[build]
create-missing = false
[preprocessor.toc] [preprocessor.toc]
command = "mdbook-toc" command = "mdbook-toc"
renderer = ["html"] renderer = ["html"]
[output.html]
git-repository-url = "https://github.com/jalil-salame/configuration.nix"

View file

@ -62,7 +62,7 @@
''; # FIXME: only add the `/configuration.nix/` part for GH CI ''; # FIXME: only add the `/configuration.nix/` part for GH CI
nativeBuildInputs = [ pkgs.mdbook-toc ]; nativeBuildInputs = [ pkgs.mdbook-toc ];
buildPhase = "${pkgs.mdbook}/bin/mdbook build --dest-dir \"$out\""; buildPhase = "${pkgs.mdbook}/bin/mdbook build --dest-dir $out";
}; };
}; };
}; };

7
flake.lock generated
View file

@ -353,15 +353,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1749419246, "lastModified": 1749507435,
"narHash": "sha256-rQctLGA1kF8B/wLIe7TTy+mQk23/zkkKzy/dr3nCAvE=", "narHash": "sha256-EHlfZyOywnFxU3f7bgaEio073LO/HwqQjdTQRKaqUuk=",
"owner": "NuschtOS", "owner": "NuschtOS",
"repo": "search", "repo": "search",
"rev": "b8a5bb93097d5a5f51c2ca136d1fe33e06188f31", "rev": "ca64563e12ec6f54842bb6182a3d2b9517d54bed",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NuschtOS", "owner": "NuschtOS",
"ref": "pull/232/head",
"repo": "search", "repo": "search",
"type": "github" "type": "github"
} }

View file

@ -57,7 +57,7 @@
}; };
# For generating the docs (can be set to null) # For generating the docs (can be set to null)
nuschtosSearch = { nuschtosSearch = {
url = "github:NuschtOS/search"; url = "github:NuschtOS/search/pull/232/head"; # fix
inputs = { inputs = {
nixpkgs.follows = "nixpkgs"; nixpkgs.follows = "nixpkgs";
flake-utils.follows = "lix-module/flake-utils"; flake-utils.follows = "lix-module/flake-utils";