collect
collect(el, base_dir)Return all pages and items in a layout.
Parameters
el :layout._Base-
An element, like layout.Section or layout.Page, to collect pages and items from.
base_dir : str-
The directory where API pages will live.
Return all pages and items in a layout.
el : layout._BaseAn element, like layout.Section or layout.Page, to collect pages and items from.
base_dir : strThe directory where API pages will live.