Website Builder (regolith.builders.htmlbuilder
)¶
Builder for websites.
- class regolith.builders.htmlbuilder.HtmlBuilder(rc)[source]¶
Build HTML files for website
- btype = 'html'¶
- build()¶
Build the thing that is being built, note this runs all commands listed in
self.cmds
- render(tname, fname, **kwargs)¶
Render the template into a file using the kwargs and global context
- Parameters:
tname (str) – Template name
fname (str) – Resulting file name
kwargs (dict) – Additional kwargs to the renderer