INNER CODE UNIT · Python
updated_content
googleapis/mcp-toolbox · .ci/update_docs_versions.py:89
updated_content = before + after
print(f"Removed the oldest version block from {os.path.basename(file_path)}.")
with open(file_path, 'w') as f:
f.write(updated_content)
print(f"Successfully updated {os.path.basename(file_path)}.")
if __name__ == '__main__':
main()