Cleanup the Related Docs template.