Lines Matching +full:app +full:- +full:path
2 # SPDX-License-Identifier: Apache-2.0
4 from pathlib import Path
18 version it is present - all information extracted from Doxygen XML output.
43 def visit_group(app, group, all_groups, rows, indent=0): argument
45 github_uri = "https://github.com/zephyrproject-rtos/zephyr/releases/tag/"
67 url_base = Path(app.config.api_overview_doxygen_base_url)
97 app, get_group(innergroup, all_groups), all_groups, rows, indent + 6
103 root = doxmlparser.index.parse(Path(dir_name) / "index.xml", True)
106 file_name = Path(dir_name) / f"{compound.get_refid()}.xml"
112 def generate_table(app, toplevel, groups): argument
131 visit_group(app, t, groups, rows)
140 def sync_contents(app: Sphinx) -> None:
141 if app.config.doxyrunner_outdir:
142 doxygen_out_dir = Path(app.config.doxyrunner_outdir)
144 doxygen_out_dir = Path(app.outdir) / "_doxygen"
146 if not app.env.doxygen_input_changed:
163 app.builder.env.api_overview_table = generate_table(app, toplevel, groups)
166 def setup(app) -> dict[str, Any]: argument
167 app.add_config_value("api_overview_doxygen_xml_dir", "html/doxygen/xml", "env")
168 app.add_config_value("api_overview_doxygen_base_url", "../../doxygen/html", "env")
170 app.add_directive("api-overview-table", ApiOverview)
172 app.connect("builder-inited", sync_contents)