sphinx_gallery.gen_rst#

reST 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.