Documentation generator¶
Generates documentation for fastai classes, functions, types.
View documentation inside a Jupyter Notebook with show_doc or at docs.fast.ai
Show the documentation of a function¶
Show the documentation of an elt (function, class or enum). doc_string decides if we show the doc string of the element or not, full_name will override the name shown, arg_comments is a dictionary that will then show list the arguments with comments. title_level is the level of the corresponding cell in the TOC, alt_doc_string is a text that can replace the doc_string. ignore_warn will ignore warnings if you pass arguments in arg_comments that don't appear to belong to this function and markdown decides if the return is a Markdown cell or plain text.
Plenty of examples of uses of this cell can been seen through the documentation, and you will want to hide input those cells for a clean final result.
Convenience functions¶
Functions for internal fastai library use¶
Get the exports of mod.
Check if something is an enumerator.