()
| 126 | |
| 127 | |
| 128 | def install_theme() -> Path: |
| 129 | print("Installing Doxygen Awesome Theme...") |
| 130 | theme_path = DOCS_ROOT / "doxygen-awesome-css" |
| 131 | if theme_path.exists(): |
| 132 | return theme_path |
| 133 | run( |
| 134 | f"git clone --depth 1 -b v{DOXYGEN_AWESOME_VERSION} {DOXYGEN_CSS_REPO}", |
| 135 | cwd=str(DOCS_ROOT), |
| 136 | ) |
| 137 | return theme_path |
| 138 | |
| 139 | |
| 140 | def generate_docs(doxygen_bin: Path) -> None: |