Mendoza is a simple static site generator, extensible with and written in the Janet programming language. Use a simple markup language to author content and flexible HTML templates for your static content. Inside templates, use the full power of the Janet language to generate boilerplate. Mendoza first parses markup into a document, are then rendered to HTML after going through custom transformations.
Mendoza is a tool for authoring content to produce high quality static HTML websites. It uses the Janet programming language and a derived markup language to make authoring content fast but flexible. It aims to be easy to set up straight out of the box with Janet, and used for authoring documentation for the Janet website.
- Simple markup language
- Syntax Highlighting
- Extensible with the Janet language - use Janet functions from within markup
./mdz watch
- File watching withinotifywait
./mdz serve
- Serve built static files with circlet- HTML templating features built in
- No need for a configuration file
- Arbitrary static files
First, make sure you have Janet installed. See the Janet docs for more information on this. Use the latest version from git, please.
Run [sudo] jpm install https://github.com/bakpakin/mendoza.git
script to install on to your machine. The mdz
executable will now be on your path, so you can run commands such as mdz build
to generate your site in any directory.
If you want to develop mendoza itself, you need to clone this repository and
then run [sudo] jpm deps
to install circlet, which mendoza uses to serve
files statically. In this case, use the ./mdz
script to run mendoza.
Mendoza is licensed under the MIT License.