3.12.2.2. sphinx.ext.mathbase.MathDirective

class sphinx.ext.mathbase.MathDirective(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)[source]

3.12.2.2.1. Methods

__init__(name, arguments, options, content, ...)
add_name(node) Append self.options[‘name’] to node[‘names’] if it exists.
assert_has_content() Throw an ERROR-level DirectiveError if the directive doesn’t have contents.
debug(message)
directive_error(level, message) Return a DirectiveError suitable for being thrown as an exception.
error(message)
info(message)
run()
severe(message)
warning(message)