sphinx_gallery.py_source_parser

Parser for python source files.

Functions

sphinx_gallery.py_source_parser.extract_file_config(content: str) dict[str, Any][source]

Pull out the file-specific config specified in the docstring.

Classes

class sphinx_gallery.py_source_parser.Block(type, content, lineno)
content

Alias for field number 1

lineno

Alias for field number 2

type

Alias for field number 0