Make doc links relative to the current repository, not an arbitrary revision