sphinx_gallery.gen_rst

RST file generator

Generate the rst files for the examples by iterating over the python example files.

Files that generate images should start with ‘plot’.

Functions

sphinx_gallery.gen_rst.codestr2rst(codestr, lang='python', lineno=None)[source]

Return reStructuredText code block from code string