Skip to main content

springheel.genabout module

Generate an about page.

springheel.genabout.makeAbout(ccomics: List[springheel.classes.Comic], translated_strings: dict, single: bool, site: springheel.classes.Site, images: dict)str

Make an about page for the site.

Parameters
ccomicslist of springheel.classes.Comic

The Comic objects described by the about page.

translated_stringsdict

The translation file contents for this site.

singlebool

Whether the site is single-comic or not. If not, separate headings and sections are generated for each comic.

sitespringheel.classes.Site

The Springheel comic site to use.

imagesdict

A dictionary mapping known images to dimensions in pixels.

Returns
str

The HTML contents of the about page, ready to write().