Fix links in generated documents