1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

doc: Check link fragments with lychee

This commit is contained in:
Robert Hensing 2024-08-15 14:10:13 +02:00
parent 3ef22a521d
commit 469123eda1

View file

@ -320,7 +320,16 @@
checks = forAllSystems (
system:
(import ./ci/gha/tests {
let
pkgs = nixpkgsFor.${system}.native;
in
{
# https://nixos.org/manual/nixpkgs/stable/index.html#tester-lycheeLinkCheck
linkcheck = pkgs.testers.lycheeLinkCheck {
site = self.packages.${system}.nix-manual + "/share/doc/nix/manual";
};
}
// (import ./ci/gha/tests {
inherit system;
pkgs = nixpkgsFor.${system}.native;
nixFlake = self;