Lines Matching refs:nodes
31 from docutils import nodes
69 self._top_node = nodes.section()
81 dlitem = nodes.definition_list_item()
82 dlterm = nodes.term('', '', *term)
85 dldef = nodes.definition()
87 dldef += nodes.paragraph('', '', *defn)
95 section = nodes.section(ids=[self._sphinx_directive.new_serialno()])
97 section += nodes.title(title, title)
110 doc = nodes.literal('', doc)
114 nodelist = [nodes.Text(' ('), nodes.strong('', 'If: ')]
116 nodelist.append(nodes.Text(')'))
126 term = [nodes.literal('', member.name)]
128 term.append(nodes.Text(': '))
129 term.append(nodes.literal('', member.type.doc_type()))
131 term.append(nodes.Text(' (optional)'))
143 term = [nodes.Text(' when '),
144 nodes.literal('', branches.tag_member.name),
145 nodes.Text(' is '),
146 nodes.literal('', '"%s"' % variant.name)]
153 dlnode = nodes.definition_list()
160 defn = [nodes.Text('Not documented')]
165 dlnode += self._make_dlitem([nodes.Text('The members of '),
166 nodes.literal('', base.doc_type())],
174 term = [nodes.Text('The members of '),
175 nodes.literal('', v.type.doc_type())]
189 dlnode = nodes.definition_list()
191 termtext = [nodes.literal('', section.member.name)]
198 defn = [nodes.Text('Not documented')]
215 dlnode = nodes.definition_list()
217 [nodes.Text('The members of '),
218 nodes.literal('', arg_type.name)],
228 dlnode = nodes.definition_list()
231 [nodes.literal('', section.member.name)], dedent(section.text))
252 container = nodes.container()
267 snode += nodes.paragraph(
283 snode = nodes.section(ids=[self._sphinx_directive.new_serialno()])
284 snode += nodes.title('', '', *[nodes.literal(doc.symbol, doc.symbol),
285 nodes.Text(' (' + typ + ')')])
402 node = nodes.container()