archivebox.index.html
Module Contents
Functions
parse an archive index html file and return the list of urls |
|
render the template for the entire main index |
|
render a given html template string with the given template content |
|
Data
API
- archivebox.index.html.parse_html_main_index(out_dir: pathlib.Path = DATA_DIR) Iterator[str] [source]
parse an archive index html file and return the list of urls
- archivebox.index.html.generate_index_from_links(links: List[archivebox.index.schema.Link], with_headers: bool)[source]
- archivebox.index.html.main_index_template(links: List[archivebox.index.schema.Link], template: str = MAIN_INDEX_TEMPLATE) str [source]
render the template for the entire main index
- archivebox.index.html.write_html_link_details(link: archivebox.index.schema.Link, out_dir: Optional[str] = None) None [source]
- archivebox.index.html.link_details_template(link: archivebox.index.schema.Link) str [source]