HF RL Explorer

documentation link checking: fix bug

documentation link checking: fix bug: a task in smol-software-harbor (Harbor dataset). Links with an anchor such as api.md auth are reported as broken by lib/linkcheck.rb even though api.md exists: the anchor must be ignored when checking the file (a pure anchor link points into the same document…

The task

Links with an anchor such as `api.md#auth` are reported as broken by `lib/linkcheck.rb` even though `api.md` exists: the anchor must be ignored when checking the file (a pure `#anchor` link points into the same document and is fine). Fix it and run `for f in test/*_test.rb; do ruby -Ilib "$f" || exit 1; done`.

Part of efederici/smol-software-harbor.