mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
doc: Check link fragments with lychee
This commit is contained in:
parent
3ef22a521d
commit
469123eda1
1 changed files with 10 additions and 1 deletions
11
flake.nix
11
flake.nix
|
|
@ -320,7 +320,16 @@
|
||||||
|
|
||||||
checks = forAllSystems (
|
checks = forAllSystems (
|
||||||
system:
|
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;
|
inherit system;
|
||||||
pkgs = nixpkgsFor.${system}.native;
|
pkgs = nixpkgsFor.${system}.native;
|
||||||
nixFlake = self;
|
nixFlake = self;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue