Skip to main content

springheel.genmultipleindex module

Generate index pages for sites with multiple comics.

springheel.genmultipleindex.genMultipleIndex(comics: List[springheel.classes.Comic], characters_page: bool, translated_strings: dict, site_desc: str, images: dict)List[str]

Generate an index page for a site with multiple comics.

Parameters
comicslist of springheel.Comic

A list of the Comics on the site.

characters_pagebool

Whether or not to add character-page links.

translated_stringsdict

The translation file contents for this site.

site_descstr

A description of the site.

imagesdict

A dictionary mapping known images to dimensions in pixels.

Returns
list of str

The HTML elements to use as comic descriptions on the index.