Wikin v1.2.5 - Generator (wikin.generator) - Documentation

Wikin v1.2.5
PyPI GitHub

No results found for your search.

# Wikin

Documentation generated by Wikin.

## Module: Generator (wikin.generator)

### Classes

WikinGenerator class

Generates a premium-look HTML documentation from parsed module data.

__init__ method
`__init__(self, project_name, version)`

Initialize the generator with project metadata and configuration.

generate method
`generate(self, modules, current_module)`

Transforms a list of ModuleDoc objects into an HTML string. In multipage mode, handles relative paths for modules and index.

get_search_data method
`get_search_data(self, modules)`

Serializes all module data into a dictionary for global search.

save method
`save(self, html, output_path)`

Saves the generated HTML to the specified file path.