Site Generator

A tool for generating static html and gemtext pages from markdown-like source documents.

Source code

By keeping the functionality simple and the code structure straightforward, adding and removing features becomes an inviting task.

> sitegen help

sitegen

usage:
  sitegen make [-psP] [...]  []
  sitegen index [-plua] [...]
  sitegen docs
  sitegen html_template
  sitegen gmi_template

commands:
  make           The main generation tool
  index          Outputs site indeces in various formats
  docs           Print the sitegen documentation in sitegen format
  html_template  Print the default html template
  gmi_template   Print the default gmi template

Building the site

> sitegen make --help

sitegen make

usage:
  sitegen make [-psP] [...]  []

arguments:
  out_dir   the output folder for all generated content
  site_dir  the input folder for the site itself, defaults to cwd

options:
  --help                    show this text
  -p, --private             include private content in the build
  --html