Function
docutils.parsers.rst.directives.directive

Signature

directive(directive_name, language_module, document)

Documentation String

Locate and return a directive function from its language-dependent name. If not found in the current language, check English. Return None if the named directive cannot be found.