archivebox.index.html

Module Contents

Functions

parse_html_main_index

parse an archive index html file and return the list of urls

generate_index_from_links

main_index_template

render the template for the entire main index

write_html_link_details

link_details_template

render_django_template

render a given html template string with the given template content

snapshot_icons

Data

__package__

MAIN_INDEX_TEMPLATE

MINIMAL_INDEX_TEMPLATE

LINK_DETAILS_TEMPLATE

TITLE_LOADING_MSG

API

archivebox.index.html.__package__

‘archivebox.index’

archivebox.index.html.MAIN_INDEX_TEMPLATE

‘static_index.html’

archivebox.index.html.MINIMAL_INDEX_TEMPLATE

‘minimal_index.html’

‘snapshot.html’

archivebox.index.html.TITLE_LOADING_MSG

‘Not yet archived…’

archivebox.index.html.parse_html_main_index(out_dir: pathlib.Path = DATA_DIR) Iterator[str]

parse an archive index html file and return the list of urls

archivebox.index.html.main_index_template(links: List[archivebox.index.schema.Link], template: str = MAIN_INDEX_TEMPLATE) str

render the template for the entire main index

archivebox.index.html.render_django_template(template: str, context: Mapping[str, str]) str

render a given html template string with the given template content

archivebox.index.html.snapshot_icons(snapshot) str