sphinx_gallery.backreferences¶
Backreferences Generator¶
Parses example file code in order to keep track of used functions
Functions¶
-
sphinx_gallery.backreferences.
get_short_module_name
(module_name, obj_name)¶ Get the shortest possible module name
-
sphinx_gallery.backreferences.
identify_names
(filename)¶ Builds a codeobj summary by identifying and resolving used names
Examples using sphinx_gallery.backreferences.identify_names
¶
-
sphinx_gallery.backreferences.
scan_used_functions
(example_file, gallery_conf)¶ save variables so we can later add links to the documentation
-
sphinx_gallery.backreferences.
write_backreferences
(seen_backrefs, gallery_conf, target_dir, fname, snippet)¶ Writes down back reference files, which include a thumbnail list of examples using a certain module