Lines Matching full:tree
285 def output_sample_categories_list_items(self, tree, container: nodes.Node): argument
288 # find docname for tree.category["id"]
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"]
348 code_samples_categories_tree = self.env.domaindata["zephyr"]["code-samples-categories-tree"]
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)
403 "code-samples-categories-tree"
732 "code-samples-categories-tree": Node("samples"),
767 # merge category trees by adding all the categories found in the "other" tree that to
768 # self tree
769 other_tree = otherdata["code-samples-categories-tree"]
868 tree = self.data["code-samples-categories-tree"]
876 node = resolver.get(tree, category_path)
896 return tree
915 category_tree = env.domaindata["zephyr"]["code-samples-categories-tree"]