Lines Matching full:directive
9 Implementation of the ``flat-table`` reST-directive.
102 u"""FlatTable (``flat-table``) directive"""
116 'The "%s" directive is empty; content required.' % self.name,
140 def __init__(self, directive): argument
141 self.directive = directive
147 colwidths = self.directive.get_column_widths(self.max_cols)
153 stub_columns = self.directive.options.get('stub-columns', 0)
154 header_rows = self.directive.options.get('header-rows', 0)
166 # no table directive (except *this* flat-table) which allows to
173 stub_columns = self.directive.options.get('stub-columns', 0)
207 error = self.directive.state_machine.reporter.error(
209 , nodes.literal_block(self.directive.block_text
210 , self.directive.block_text)
211 , line = self.directive.lineno )
215 u"""parses the node from a :py:class:`FlatTable` directive's body"""
219 'Error parsing content block for the "%s" directive: '
220 'exactly one bullet list expected.' % self.directive.name )
279 if 'fill-cells' in self.directive.options:
337 'Error parsing content block for the "%s" directive: '
340 % (self.directive.name, rowNum + 1))