Main entry point.
()
| 160 | |
| 161 | |
| 162 | def main(): |
| 163 | """Main entry point.""" |
| 164 | # Determine paths |
| 165 | script_dir = Path(__file__).parent.resolve() |
| 166 | repo_root = script_dir.parent.parent |
| 167 | |
| 168 | # Default output directory |
| 169 | output_dir = repo_root / "docs" / "python" |
| 170 | |
| 171 | # Allow override via command line argument |
| 172 | if len(sys.argv) > 1: |
| 173 | output_dir = Path(sys.argv[1]) |
| 174 | |
| 175 | generate_docs(output_dir, repo_root) |
| 176 | |
| 177 | |
| 178 | if __name__ == "__main__": |
no test coverage detected