Cyrax usage

Main executable is cyrax. Run it in a directory with site sources to compile your site. It expects file .cyrax.cfg in a directory it’s started in.


.cyrax.cfg is a main site configuration file and has to be written in a simple Configuration format. Possible configuration options used by Cyrax core:

  • parent_tmpl - name of parent template for a Page object. Defaults to _base.html.
  • exclude - list of filenames (or glob patterns) to exclude from resulting site.
  • sitecallback - Python path to function, which takes a Site object as an argument before traversing tree of files and can perform some modifications to behavior of Cyrax. Example.

Any other options will be set on your Site object, which is available in any template under name of site.