Lines Matching +full:zephyr +full:- +full:env
3 # SPDX-License-Identifier: Apache-2.0
5 # based on http://protips.readthedocs.io/link-roles.html
35 "git describe --exact-match", shell=True, stderr=subprocess.DEVNULL
40 return output.strip().decode("utf-8")
44 app.add_role("zephyr_file", modulelink("zephyr"))
45 app.add_role("zephyr_raw", modulelink("zephyr", format="raw"))
48 app.add_config_value("link_roles_manifest_baseurl", None, "env")
49 app.add_config_value("link_roles_manifest_project", None, "env")
50 app.add_config_value("link_roles_manifest_project_broken_links_ignore_globs", [], "env")
74 config = inliner.document.settings.env.app.config
88 line_match = re.search(r"(.+?)(?:#(L\d+(?:-L\d+)?))?$", link)
100 # This allows e.g. building the docs in downstream Zephyr-based
101 # software with forks of the zephyr repository, and getting
103 # instead of mainline zephyr.
124 p = Path(source).relative_to(inliner.document.settings.env.srcdir)