Lines Matching full:directive
9 Implementation of the ``flat-table`` reST-directive.
112 u"""FlatTable (``flat-table``) directive"""
126 'The "%s" directive is empty; content required.' % self.name,
150 def __init__(self, directive): argument
151 self.directive = directive
157 colwidths = self.directive.get_column_widths(self.max_cols)
163 stub_columns = self.directive.options.get('stub-columns', 0)
164 header_rows = self.directive.options.get('header-rows', 0)
176 # no table directive (except *this* flat-table) which allows to
183 stub_columns = self.directive.options.get('stub-columns', 0)
217 error = self.directive.state_machine.reporter.error(
219 , nodes.literal_block(self.directive.block_text
220 , self.directive.block_text)
221 , line = self.directive.lineno )
225 u"""parses the node from a :py:class:`FlatTable` directive's body"""
229 'Error parsing content block for the "%s" directive: '
230 'exactly one bullet list expected.' % self.directive.name )
289 if 'fill-cells' in self.directive.options:
347 'Error parsing content block for the "%s" directive: '
350 % (self.directive.name, rowNum + 1))