ManimDirective#
Qualified name: manim.utils.docbuild.manim\_directive.ManimDirective
- class ManimDirective(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)[source]#
Bases:
docutils.parsers.rst.Directive
The manim directive, rendering videos while building the documentation.
See the module docstring for documentation.
Methods
run
Attributes
final_argument_whitespace
May the final argument contain whitespace?
has_content
May the directive have content?
option_spec
Mapping of option names to validator functions.
optional_arguments
Number of optional arguments after the required arguments.
required_arguments
Number of required directive arguments.