Link checker should support non-default output directory or targets
mDuo13 opened this issue · 1 comments
Right now the link checker just reads the config file and checks the output directory regardless of what's there. Also, it reports "success" if said directory is empty or doesn't exist, when that case should probably be considered a failure.
It would be nice to support nonstandard output directories, like the -o
option of dactyl_build
, but -o
is already an alias to --offline
in the link checker so reusing that parameter would be a breaking change.
Another neat function would be a "virtual" link checker that keeps everything in memory, like the style checker, so you can specify a target to it instead of needing to run dactyl_build
first. It would need to do some funny business to try and interpret whether static files would end up in the correct place when written out.
Fixed in v0.11.0