Generator
Plugin
Plugin(generator)
Base class for static site generator plugins
Initialize plugin with generator instance
Source code in src/air/generator.py
12 13 14 |
|
run
run()
Execute plugin functionality
Source code in src/air/generator.py
16 17 18 |
|
StaticSiteGenerator
StaticSiteGenerator(source_dir, output_dir)
Generates static sites from HTML templates
Initialize generator with source and output directories
Source code in src/air/generator.py
24 25 26 27 28 29 30 31 32 |
|
register_plugin
register_plugin(plugin)
Register a plugin class with the generator
Source code in src/air/generator.py
34 35 36 37 |
|
build
build()
Build the static site by rendering templates
Source code in src/air/generator.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
|