Link cleanup

random fixes of invalid links and redirections after running a linkchecker over the generated doc.