sphinx¶
Classes
A hidden doctest directive. |
|
A shell directive. |
|
A thumbnail directive. |
|
- class abjad.ext.sphinx.HiddenDoctestDirective(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)[source]¶
A hidden doctest directive.
Contributes no formatting to documents built by Sphinx.
Attributes Summary
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.
Executes the directive.
Methods
- class abjad.ext.sphinx.LilyPondExtension(illustrable, kind, no_trim=None, pages=None, with_columns=None, **keywords)[source]¶
Attributes Summary
Kind
lilypond_block
Perform console setup tasks before executing a suite of code blocks, e.g.
Setup Sphinx, e.g.
Methods
Class & static methods
- overridden classmethod setup_console(console, monkeypatch)[source]¶
Perform console setup tasks before executing a suite of code blocks, e.g. monkeypatching IO operations to allow media capture.
- class abjad.ext.sphinx.ShellDirective(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)[source]¶
A shell directive.
Represents a shell session.
Generates a docutils
literal_block
node.Attributes Summary
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.
Methods
- class abjad.ext.sphinx.ThumbnailDirective(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)[source]¶
A thumbnail directive.
Attributes Summary
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.
Executes the directive.
Methods
Functions