Skip to content

Commit 469123e

Browse files
committed
doc: Check link fragments with lychee
1 parent 3ef22a5 commit 469123e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

flake.nix

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,16 @@
320320

321321
checks = forAllSystems (
322322
system:
323-
(import ./ci/gha/tests {
323+
let
324+
pkgs = nixpkgsFor.${system}.native;
325+
in
326+
{
327+
# https://nixos.org/manual/nixpkgs/stable/index.html#tester-lycheeLinkCheck
328+
linkcheck = pkgs.testers.lycheeLinkCheck {
329+
site = self.packages.${system}.nix-manual + "/share/doc/nix/manual";
330+
};
331+
}
332+
// (import ./ci/gha/tests {
324333
inherit system;
325334
pkgs = nixpkgsFor.${system}.native;
326335
nixFlake = self;

0 commit comments

Comments
 (0)