oembedpy.ext.sphinx module¶
Sphinx extension module.
- class oembedpy.ext.sphinx.OembedDirective(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)¶
Bases:
Directive
- has_content = False¶
May the directive have content?
- option_spec = {'maxheight': <function positive_int>, 'maxwidth': <function positive_int>}¶
Mapping of option names to validator functions.
- required_arguments = 1¶
Number of required directive arguments.
- run()¶
- oembedpy.ext.sphinx.depart_oembed_node(self, node)¶
- class oembedpy.ext.sphinx.oembed(rawsource='', *children, **attributes)¶
Bases:
General
,Element
- oembedpy.ext.sphinx.setup(app: Sphinx)¶
- oembedpy.ext.sphinx.visit_oembed_node(self, node)¶