Lines Matching refs:app
337 def doxygen_build(app: Sphinx) -> None:
344 if app.config.doxyrunner_outdir:
345 outdir = Path(app.config.doxyrunner_outdir)
347 outdir = Path(app.outdir) / "_doxygen"
354 app.config.doxyrunner_doxyfile,
356 app.config.doxyrunner_silent,
357 app.config.doxyrunner_fmt,
358 app.config.doxyrunner_fmt_pattern,
359 app.config.doxyrunner_fmt_vars,
360 app.config.doxyrunner_outdir_var,
364 app.env.doxygen_input_changed = doxygen_input_has_changed(app.env, doxyfile)
365 if not app.env.doxygen_input_changed:
371 app.config.doxyrunner_doxygen,
373 app.config.doxyrunner_silent,
382 def setup(app: Sphinx) -> dict[str, Any]:
383 app.add_config_value("doxyrunner_doxygen", "doxygen", "env")
384 app.add_config_value("doxyrunner_doxyfile", None, "env")
385 app.add_config_value("doxyrunner_outdir", None, "env")
386 app.add_config_value("doxyrunner_outdir_var", None, "env")
387 app.add_config_value("doxyrunner_fmt", False, "env")
388 app.add_config_value("doxyrunner_fmt_vars", {}, "env")
389 app.add_config_value("doxyrunner_fmt_pattern", "@{}@", "env")
390 app.add_config_value("doxyrunner_silent", True, "")
392 app.connect("builder-inited", doxygen_build)