This Page

mmf.sphinx.ext.matplotlibext.only_directives

only_base([rawsource])
latex_only([rawsource])
html_only([rawsource])
run(content, node_class, state, content_offset)
builder_inited(app)
setup(app)
html_only_directive(name, arguments, ...)
latex_only_directive(name, arguments, ...)

Inheritance diagram for mmf.sphinx.ext.matplotlibext.only_directives:

Inheritance diagram of mmf.sphinx.ext.matplotlibext.only_directives

class mmf.sphinx.ext.matplotlibext.only_directives.only_base(rawsource='', *children, **attributes)[source]

Bases: docutils.nodes.Body, docutils.nodes.Element

Attributes

document
line
parent
source
tagname

Methods

append(item)
asdom([dom]) Return a DOM fragment representation of this Node.
astext()
attlist()
clear()
copy()
deepcopy()
delattr(attr)
dont_traverse(*args, **kwargs)
emptytag()
endtag()
extend(item)
first_child_matching_class(childclass[, ...]) Return the index of the first child whose class exactly matches.
first_child_not_matching_class(childclass[, ...]) Return the index of the first child whose class does not match.
get(key[, failobj])
has_key(attr)
hasattr(attr)
index(item)
insert(index, item)
is_not_default(key)
next_node([condition, include_self, ...]) Return the first node in the iterable returned by traverse(),
non_default_attributes()
note_referenced_by([name, id]) Note that this Element has been referenced by its name
pformat([indent, level])
pop([i])
remove(item)
replace(old, new) Replace one child Node with another child or children.
replace_self(new) Replace self node with new, where new is a node or a
set_class(name) Add a new class to the “classes” attribute.
setdefault(key[, failobj])
setup_child(child)
shortrepr()
starttag()
traverse([condition, include_self, descend, ...]) Return an iterable containing
update_basic_atts(dict) Update basic attributes (‘ids’, ‘names’, ‘classes’,
walk(visitor) Traverse a tree of Node objects, calling the
walkabout(visitor) Perform a tree traversal similarly to Node.walk() (which
__init__(rawsource='', *children, **attributes)
dont_traverse(*args, **kwargs)[source]
class mmf.sphinx.ext.matplotlibext.only_directives.latex_only(rawsource='', *children, **attributes)[source]

Bases: mmf.sphinx.ext.matplotlibext.only_directives.only_base

Attributes

document
line
parent
source
tagname

Methods

append(item)
asdom([dom]) Return a DOM fragment representation of this Node.
astext()
attlist()
clear()
copy()
deepcopy()
delattr(attr)
dont_traverse(*args, **kwargs)
emptytag()
endtag()
extend(item)
first_child_matching_class(childclass[, ...]) Return the index of the first child whose class exactly matches.
first_child_not_matching_class(childclass[, ...]) Return the index of the first child whose class does not match.
get(key[, failobj])
has_key(attr)
hasattr(attr)
index(item)
insert(index, item)
is_not_default(key)
next_node([condition, include_self, ...]) Return the first node in the iterable returned by traverse(),
non_default_attributes()
note_referenced_by([name, id]) Note that this Element has been referenced by its name
pformat([indent, level])
pop([i])
remove(item)
replace(old, new) Replace one child Node with another child or children.
replace_self(new) Replace self node with new, where new is a node or a
set_class(name) Add a new class to the “classes” attribute.
setdefault(key[, failobj])
setup_child(child)
shortrepr()
starttag()
traverse([condition, include_self, descend, ...]) Return an iterable containing
update_basic_atts(dict) Update basic attributes (‘ids’, ‘names’, ‘classes’,
walk(visitor) Traverse a tree of Node objects, calling the
walkabout(visitor) Perform a tree traversal similarly to Node.walk() (which
__init__(rawsource='', *children, **attributes)
class mmf.sphinx.ext.matplotlibext.only_directives.html_only(rawsource='', *children, **attributes)[source]

Bases: mmf.sphinx.ext.matplotlibext.only_directives.only_base

Attributes

document
line
parent
source
tagname

Methods

append(item)
asdom([dom]) Return a DOM fragment representation of this Node.
astext()
attlist()
clear()
copy()
deepcopy()
delattr(attr)
dont_traverse(*args, **kwargs)
emptytag()
endtag()
extend(item)
first_child_matching_class(childclass[, ...]) Return the index of the first child whose class exactly matches.
first_child_not_matching_class(childclass[, ...]) Return the index of the first child whose class does not match.
get(key[, failobj])
has_key(attr)
hasattr(attr)
index(item)
insert(index, item)
is_not_default(key)
next_node([condition, include_self, ...]) Return the first node in the iterable returned by traverse(),
non_default_attributes()
note_referenced_by([name, id]) Note that this Element has been referenced by its name
pformat([indent, level])
pop([i])
remove(item)
replace(old, new) Replace one child Node with another child or children.
replace_self(new) Replace self node with new, where new is a node or a
set_class(name) Add a new class to the “classes” attribute.
setdefault(key[, failobj])
setup_child(child)
shortrepr()
starttag()
traverse([condition, include_self, descend, ...]) Return an iterable containing
update_basic_atts(dict) Update basic attributes (‘ids’, ‘names’, ‘classes’,
walk(visitor) Traverse a tree of Node objects, calling the
walkabout(visitor) Perform a tree traversal similarly to Node.walk() (which
__init__(rawsource='', *children, **attributes)
mmf.sphinx.ext.matplotlibext.only_directives.run(content, node_class, state, content_offset)[source]
mmf.sphinx.ext.matplotlibext.only_directives.builder_inited(app)[source]
mmf.sphinx.ext.matplotlibext.only_directives.setup(app)[source]
mmf.sphinx.ext.matplotlibext.only_directives.html_only_directive(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)[source]
mmf.sphinx.ext.matplotlibext.only_directives.latex_only_directive(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)[source]