remove links for doc endpoints