sphinx_gmt.gmtplot.GMTPlotDirective

class sphinx_gmt.gmtplot.GMTPlotDirective(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)[source]

The gmtplot directive implementation.

Methods

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