Update for latest mendoza.
Correct broken file reference.
Move scripts in tool directory near their use.
This is the source code for the website for the Janet programming language. It is a static website built with mendoza, a static site generator.
The recommended way to build this website is to first install both Janet and mendoza. Below is one way to do that for Linux systems.
git clone https://github.com/janet-lang/janet
cd janet
make -j 12
sudo make install
sudo jpm install https://github.com/bakpakin/mendoza.git
To build, simply use make
or mdz
This requires first installing inotify-tools
, which can be installed easily on most Linux distros.
To watch for changes, use make watch
or mdz watch
.
make serve
All pages in the content directory with .mdz
extension will be parsed by mendoza
and converted to an html file of the same name but with the .html
extension. The markup
language is similar to Scribble, the Racket
documentation tool, but of course is written in and is a dialect of Janet. See
mendoza for more information.