Lines Matching refs:nodes
7 from docutils import nodes
106 repl.append(nodes.Text(t[done:m.start()]))
116 repl.append(nodes.Text(t[done:]))
132 target_text = nodes.Text(match.group(0))
136 lit_text = nodes.literal(classes=['xref', 'c', class_s])
183 target_text = nodes.Text(match.group(0))
187 lit_text = nodes.literal(classes=['xref', 'c', class_str[match.re]])
240 return nodes.Text(match.group(0))
252 for para in doctree.traverse(nodes.paragraph):
253 for node in para.traverse(nodes.Text):
254 if not isinstance(node.parent, nodes.literal):