Initialize the builder.
Arguments must be passed by name only. Their order may change in the future.
If set, /index.html suffixes are removed from:
- the path key that is automatically added in the md binding passed to the template;
- URLs in the Sitemap (if a Sitemap is generated).
The base class that any generator must implement.
Return a tuple that consists of the metadata and the HTML fragment generated from the file at the given path.
Register a generator.
The base class that any renderer must implement.
There is only one renderer for now, so the API is subject to change (as soon as a second renderer is implemented).
Render the template with the given bindings.
Register a renderer.
spec
a string that represents the full path to a class, for example 'soho.renderers.zpt.ZPTRenderer'. The class must implement the same interface as soho.renderers.BaseRenderer.