Lines Matching refs:tree
285 def output_sample_categories_list_items(self, tree, container: nodes.Node): argument
289 docname = self.env.domaindata["zephyr"]["code-samples-categories"][tree.category["id"]][
295 *[nodes.Text(tree.category["name"])],
304 sorted_children = sorted(tree.children, key=lambda x: x.category["name"])
309 code_sample.get("category") == tree.category["id"]
320 if code_sample.get("category") == tree.category["id"]
364 def output_sample_categories_sections(self, tree, container: nodes.Node, show_titles=False): argument
366 section = nodes.section(ids=[tree.category["id"]])
371 tree.category["docname"],
373 child=nodes.Text(tree.category["name"]),
386 if code_sample.get("category") == tree.category["id"]
391 sorted_children = sorted(tree.children, key=lambda x: x.name)
868 tree = self.data["code-samples-categories-tree"]
876 node = resolver.get(tree, category_path)
896 return tree