cachix / devenv

Fast, Declarative, Reproducible, and Composable Developer Environments
https://devenv.sh
Apache License 2.0
4.46k stars 335 forks source link

Integrate mkdocs-linkcheck #50

Closed domenkozar closed 1 day ago

domenkozar commented 2 years ago

https://pypi.org/project/mkdocs-linkcheck/

totoroot commented 1 year ago

@domenkozar I created a draft here. If I understand it correctly, there should be no code change necessary in this repo once the PR gets merged into pre-commit-hooks.nix, right?

domenkozar commented 8 months ago

We'd want to run the hook in the repo, to validate all the doc links

totoroot commented 8 months ago

I'd suggest we use lychee, which is more performant and seems to be maintained better. It was added as a hook with https://github.com/cachix/pre-commit-hooks.nix/pull/351. If nothing speaks against it, I can open a PR to integrate it into the devenv repo.

domenkozar commented 8 months ago

That would be fantastic, please do :)

totoroot commented 7 months ago

See relevant work by @roberth in https://github.com/NixOS/nixpkgs/pull/298665.