MCPcopy Create free account
hub / github.com/FastLED/FastLED / install_doxygen_unix

Function install_doxygen_unix

ci/docs.py:107–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105
106
107def install_doxygen_unix() -> Path:
108 print("Installing Doxygen...")
109 archive = f"doxygen-{DOXYGEN_VERSION}.linux.bin.tar.gz"
110 url = f"https://www.doxygen.nl/files/{archive}"
111
112 # Create tool path if it doesn't exist
113 DOCS_TOOL_PATH.mkdir(exist_ok=True, parents=True)
114
115 # Change to tool directory for download and extraction
116 original_dir = os.getcwd()
117 os.chdir(str(DOCS_TOOL_PATH))
118
119 try:
120 run(f"wget -q {url}")
121 run(f"tar -xf {archive}")
122 bin_dir = DOCS_TOOL_PATH / f"doxygen-{DOXYGEN_VERSION}"
123 return bin_dir / "bin" / "doxygen"
124 finally:
125 os.chdir(original_dir)
126
127
128def install_theme() -> Path:

Callers 1

mainFunction · 0.85

Calls 2

runFunction · 0.70
printFunction · 0.50

Tested by

no test coverage detected