Lines Matching full:directive
7 Implementation of the ``kernel-include`` reST-directive.
12 The ``kernel-include`` reST-directive is a replacement for the ``include``
13 directive. The ``kernel-include`` directive expand environment variables in
19 security risk for builders. This is why the ``include`` directive from
21 tree where the reST document with the include directive is placed.
94 from docutils.parsers.rst import Directive, directives
117 class KernelInclude(Directive):
119 KernelInclude (``kernel-include``) directive
121 Most of the stuff here came from Include directive defined at:
148 # Arguments that aren't from Sphinx Include directive
163 raise self.severe('Problems with directive path:\n'
167 raise self.severe('Problems with directive path:\n%s.' % ErrorString(error))
172 raise self.severe('Problem with directive:\n%s' % ErrorString(error))
187 raise self.severe(f'Problem with "{self.name}" directive:\n'
197 "directive:\nText not found." % self.name)
205 "directive:\nText not found." % self.name)
242 # Sphinx always blame the ".. <directive>", so placing
357 raise self.severe('Problems with "%s" directive, prohibited path: %s' %
361 raise self.severe('Problems with "%s" directive, invalid path: %s' %
374 raise self.warning('"%s" directive disabled.' % self.name)