Lines Matching refs:node

96         for node in self.document.traverse(matcher):
97 self.convert_node(node)
99 def convert_node(self, node): argument
109 parent = node.parent
112 index = parent.index(node)
116 new_section = nodes.section(ids=[node["id"]])
117 new_section += nodes.title(text=node["name"])
136 node.replace_self(new_section)
143 if node["relevant-api"]:
147 for api in node["relevant-api"]:
170 meta_description["content"] = node.children[0].astext()
171 node.document += meta_description
189 node.document += json_ld
197 for node in self.document.traverse(matcher):
198 self.convert_node(node)
200 def convert_node(self, node): argument
202 parent = node.parent
205 index = parent.index(node)
208 node.children[0].extend(siblings_to_move)
216 node.replace_self(node.children[0])
224 for node in self.document.traverse(matcher):
225 self.convert_node(node)
227 def convert_node(self, node): argument
228 parent = node.parent
231 index = parent.index(node)
234 new_section = nodes.section(ids=[node["id"]])
235 new_section += nodes.title(text=node["full_name"])
242 if node["image"] is not None:
246 figure += nodes.caption(text=node["full_name"])
253 ("Name", nodes.literal(text=node["id"])),
254 ("Vendor", node["vendor"]),
255 ("Architecture", ", ".join(node["archs"])),
256 ("SoC", ", ".join(node["socs"])),
275 node.replace_self(new_section)
352 lambda node: hasattr(node, "category") and node.category["docname"] == self.env.docname,
398 for node in self.document.traverse(matcher):
409 if self.env.app.builder.format == "html" and node["live-search"]:
423 for category in node["categories"]:
427 location=(self.env.docname, node.line),
433 lambda node, category=category: hasattr(node, "category")
434 and node.category["id"] == category,
438 node.replace_self(container)
478 for node in self.document.traverse(matcher):
479 id = node["id"] # the ID of the node is the name of the doxygen group for which we
499 node.replace_self(admonition)
502 node.replace_self([])
829 def resolve_xref(self, env, fromdocname, builder, type, target, node, contnode): argument
840 if not node.get("refexplicit"):
876 node = resolver.get(tree, category_path)
877 if hasattr(node, "category") and node.category["id"] != category_id:
890 e.node = Node(node_name, parent=e.node)
892 node = e.node
894 node.category = {"id": category_id, "name": category_name, "docname": docname}
920 node = resolver.get(category_tree, "/" + path.dirname(code_sample["docname"]))
923 node = e.node
924 while not hasattr(node, "category"):
925 node = node.parent
926 code_sample["category"] = node.category["id"]