making relative links to external docs into absolute links