Lettersmith is a static site generator written in Lua. This Docker project uses a fork of this generator that fixes some issues.
The default configuration expects the following project structure:
www/
web.lua
html/
www/
The web.lua script contains the site generation code, the html directory HTML or Markdown source files and the www directory the generated files. The basic invocation is:
docker run -v /path/to/www:/www:z --rm IMAGE_NAME
SCRIPT_FILE- name of the Lua scriptHTML_DIR- source HTML directoryWWW_DIR- output HTML directory