Fix docs/ link detection