mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-22 08:14:06 +01:00
linkcheck: simplify instructions
This commit is contained in:
parent
ff19131911
commit
2be4de6fc6
@ -21,13 +21,10 @@ Dead links if detected early have a chance to prevent linkrot.
|
|||||||
## Instructions
|
## Instructions
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd ./checks/linkcheck
|
./checks/linkcheck/lychee.sh
|
||||||
direnv allow # or # nix develop ..#linkcheck
|
|
||||||
./lychee.sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
It can be run from anywhere so `/path/to/checks/linkcheck/lychee.sh` works but
|
The report will be generated at `/path/to/checks/linkcheck`.
|
||||||
the report will be generated at `/path/to/checks/linkcheck`.
|
|
||||||
|
|
||||||
As usual, `nix fmt` works inside linkcheck dir.
|
As usual, `nix fmt` works inside linkcheck dir.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user