Lines Matching refs:env
119 gh_link = gh_link_get_url(self.app, self.env.docname)
289 docname = self.env.domaindata["zephyr"]["code-samples-categories"][tree.category["id"]][
310 for code_sample in self.env.domaindata["zephyr"]["code-samples"].values()
319 for code_sample in self.env.domaindata["zephyr"]["code-samples"].values()
348 code_samples_categories_tree = self.env.domaindata["zephyr"]["code-samples-categories-tree"]
352 lambda node: hasattr(node, "category") and node.category["docname"] == self.env.docname,
358 self.env.tocs[self.env.docname] = bullet_list
369 self.env.app.builder,
370 self.env.docname,
385 for code_sample in self.env.domaindata["zephyr"]["code-samples"].values()
399 self.env.domaindata["zephyr"]["has_code_sample_listing"][self.env.docname] = True
401 code_samples_categories = self.env.domaindata["zephyr"]["code-samples-categories"]
402 code_samples_categories_tree = self.env.domaindata["zephyr"][
409 if self.env.app.builder.format == "html" and node["live-search"]:
427 location=(self.env.docname, node.line),
482 code_samples = self.env.domaindata["zephyr"]["code-samples"].values()
517 env = self.state.document.settings.env
518 code_samples = env.domaindata["zephyr"]["code-samples"]
524 location=(env.docname, self.lineno),
539 "docname": env.docname,
542 domain = env.get_domain("zephyr")
568 env = self.state.document.settings.env
575 category_node["docname"] = env.docname
581 "docname": env.docname,
587 domain = env.get_domain("zephyr")
605 stringlist = StringList(lines, source=env.docname)
649 boards = self.env.domaindata["zephyr"]["boards"]
650 vendors = self.env.domaindata["zephyr"]["vendors"]
655 location=(self.env.docname, self.lineno),
661 location=(self.env.docname, self.lineno),
668 board["docname"] = self.env.docname
685 if self.env.app.builder.format == "html":
686 self.env.domaindata["zephyr"]["has_board_catalog"][self.env.docname] = True
688 domain_data = self.env.domaindata["zephyr"]
829 def resolve_xref(self, env, fromdocname, builder, type, target, node, contnode): argument
911 def compute_sample_categories_hierarchy(app: Sphinx, env: BuildEnvironment) -> None:
912 domain = env.get_domain("zephyr")
915 category_tree = env.domaindata["zephyr"]["code-samples-categories-tree"]
932 if app.env.domaindata["zephyr"]["has_code_sample_listing"].get(pagename, False):
936 if app.env.domaindata["zephyr"]["has_board_catalog"].get(pagename, False):
943 app.env.domaindata["zephyr"]["boards"] = board_catalog["boards"]
944 app.env.domaindata["zephyr"]["vendors"] = board_catalog["vendors"]
945 app.env.domaindata["zephyr"]["socs"] = board_catalog["socs"]