Lines Matching +full:- +full:- +full:quiet
6 SPDX-License-Identifier: Apache-2.0
16 - Doxygen build is run before Sphinx reads input files
17 - Doxyfile can be optionally pre-processed so that variables can be inserted
18 - Changes in the Doxygen input files are tracked so that Doxygen build is only
20 - Synchronizes Doxygen XML output so that even if Doxygen is run only changed,
25 - https://github.com/michaeljones/breathe/issues/420
30 - ``doxyrunner_doxygen``: Path to the Doxygen binary.
31 - ``doxyrunner_silent``: If Doxygen output should be logged or not. Note that
32 this option may not have any effect if ``QUIET`` is set to ``YES``.
33 - ``doxyrunner_projects``: Dictionary specifying projects, keys being project
36 - ``doxyfile``: Path to Doxyfile.
37 - ``outdir``: Doxygen build output directory (inserted to ``OUTPUT_DIRECTORY``)
38 - ``outdir_var``: Variable representing the Doxygen build output directory,
41 - ``fmt``: Flag to indicate if Doxyfile should be formatted.
42 - ``fmt_vars``: Format variables dictionary (name: value).
43 - ``fmt_pattern``: Format pattern.
66 def hash_file(file: Path) -> str:
76 with open(file, encoding="utf-8") as f:
77 sha256 = hashlib.sha256(f.read().encode("utf-8"))
81 def get_doxygen_option(doxyfile: str, option: str) -> list[str]:
95 option_re = re.compile(r"^\s*([A-Z0-9_]+)\s*=\s*(.*)$")
121 value = value[:-1]
140 ) -> str:
144 OUTPUT_DIRECTORY, WARN_FORMAT and QUIET are overridden to satisfy
150 silent: If Doxygen should be run in quiet mode or not.
178 r"^\s*QUIET\s*=.*$",
179 "QUIET=" + "YES" if silent else "NO",
198 def doxygen_input_has_changed(env: BuildEnvironment, name, doxyfile: str) -> bool:
242 def process_doxygen_output(line: str, silent: bool) -> None:
254 m = re.match(r"(.*):(\d+): ([a-z]+): (.*)", line)
268 def run_doxygen(doxygen: str, doxyfile: str, silent: bool = False) -> None:
281 p = Popen([doxygen, f_doxyfile_name], stdout=PIPE, stderr=STDOUT, encoding="utf-8")
292 raise OSError(f"Doxygen process returned non-zero ({p.returncode})")
295 def sync_doxygen(doxyfile: str, new: Path, prev: Path) -> None:
342 def doxygen_build(app: Sphinx) -> None:
391 def setup(app: Sphinx) -> dict[str, Any]:
396 app.connect("builder-inited", doxygen_build)