Checks if API documentation exists for a specific git ref
bool hasApiFile(String repoPath, String ref) { final apiFile = getApiFileForRef(repoPath, ref); return apiFile.existsSync(); }