do not use relative paths in link text

This commit is contained in:
Alex Tau 2025-05-10 16:46:36 +03:00
parent 4cbeb4e491
commit 8709b019ea
2 changed files with 17 additions and 17 deletions

View file

@ -11,7 +11,7 @@ let
optionsDoc = pkgs.nixosOptionsDoc {
options = builtins.removeAttrs optEval.options [ "_module" ];
};
replaceLinkNamesPattern = ''sR\[/nix/store/[a-z0-9]+-source/R[../R'';
replaceLinkNamesPattern = ''sR\[/nix/store/[a-z0-9]+-source/R[R'';
replaceLinkContentsPattern = ''sR\(file:///nix/store/[a-z0-9]+-source/R(../R'';
in
pkgs.runCommand "options-doc.md" {} ''