Website Builder (regolith.builders.htmlbuilder)

Builder for websites.

class regolith.builders.htmlbuilder.HtmlBuilder(rc)[source]

Build HTML files for website

abstracts()[source]

Render each abstract

blog()[source]

Render the blog and rss

btype = 'html'
build()

Build the thing that is being built, note this runs all commands listed in self.cmds

cname()[source]

Add CNAME

construct_global_ctx()[source]

Constructs the global context

finish()[source]

Move files over to their destination and remove them from the source

jobs()[source]

Render the jobs and each job

nojekyll()[source]

Touches a nojekyll file in the build dir

people()[source]

Render people, former members, and each person

projects()[source]

Render projects

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

root_index()[source]

Render root index