Mendoza API

Index

build clean init serve watch

Reference

buildfunction
mendoza/init.janet at line 102, column 1
(build &opt site root)

Build the static site and put it in the output folder.

cleanfunction
mendoza/init.janet at line 74, column 1
(clean &opt site)

Clean up the old site.

initfunction
mendoza/init.janet at line 23, column 1
(init)

Add loaders to environment. Call this before running any commands.

servefunction
mendoza/init.janet at line 84, column 1
(serve &opt port host site)

Serve the site locally.

watchfunction
mendoza/init.janet at line 160, column 1
(watch)

Watch for files changing, and re-run mendoza when source files change. Only works when content files and templates change, and only on linux for now.