~bakpakin/janet-lang.org

Website for the janet language. https://janet-lang.org
Update for latest mendoza.
Correct broken file reference.
Move scripts in tool directory near their use.

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~bakpakin/janet-lang.org
read/write
git@git.sr.ht:~bakpakin/janet-lang.org

You can also use your local clone with git send-email.

#janet-lang.org

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.

#Prereqs

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.

#Installing Janet

git clone https://github.com/janet-lang/janet
cd janet
make -j 12
sudo make install

#Installing Mendoza

sudo jpm install https://github.com/bakpakin/mendoza.git

#Building

To build, simply use make or mdz

#Watch for changes

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.

#Serve on localhost:8000

make serve

#Authoring Content

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.