class documentation

class DirLayoutBase(ExportLayout): (source)

Known subclasses: zim.export.layouts.FileLayout, zim.export.layouts.MultiFileLayout, zim.export.layouts.SingleFileLayout

View In Hierarchy

Undocumented

Method attachments_dir No summary
Method resources_dir Returns the folder for template resources @returns: a Dir object

Inherited from ExportLayout:

Method page_file No summary
Class Variable relative_root Undocumented
def attachments_dir(self, page): (source)
Returns the attachments folder for a page
Parameters
pagea Page or Path object
Returns
a Dir object
Raises
ValueErrorif folder can not be mapped
Unknown Field: implementation
must be implemented by subclasses
def resources_dir(self): (source)
Returns the folder for template resources
Returns
a Dir object