Fix a ton of doc formatting issues.