class StaticExportLinker(ExportLinker): (source)
Method | __init__ |
No summary |
Inherited from ExportLinker
:
Method | file_object |
Turn a File object in a relative link or URI |
Method | img |
Returns an url for image file 'src' |
Method | link |
Returns an url for a link in a zim page This method is used to translate links of any type. |
Method | page_object |
Turn a Path object in a relative link or URI |
Method | resolve_dest_file |
Find the destination file for an attachment @returns: a File object |
Method | resolve_source_file |
No summary |
Method | resource |
Return an url for template resources |
Instance Variable | base |
Undocumented |
Instance Variable | document_root_url |
Undocumented |
Instance Variable | layout |
Undocumented |
Instance Variable | notebook |
Undocumented |
Instance Variable | output |
Undocumented |
Instance Variable | source |
Undocumented |
Instance Variable | usebase |
Undocumented |
Method | _link_file |
Undocumented |
Method | _link_interwiki |
Undocumented |
Method | _link_mailto |
Undocumented |
Method | _link_notebook |
Undocumented |
Method | _link_page |
Undocumented |
Method | _resolve_file |
Undocumented |
zim.export.linker.ExportLinker.__init__
Parameters | |
notebook | the source Notebook for resolving links |
resources_dir | Undocumented |
source | is the Path of the source page being exported |
layout | the ExportLayout for resolving target files |
output | is a File object for the destination file |
usebase | if True the format allows returning relative paths |
document_root_url | optional URL for the document root |