Class: Generator

The Generator class, which is responsible for rendering and copying HTML-files and needed resources.

Methods

copy_resources (self)

Copies all required files like CSS, JavaScipts and images.

create_dirs (self)

Creates the target directory where all content goes.

generate (self, desc)

Generate all HTML for a given descriptor and it's members.

generate_resources (self)

Currently just creates the CSS file for syntax highlighting.

target_filename (self, desc)

Returns the full path and filename for the file that will be generated for the descriptor given by desc.