Skip to content
ReFreezed edited this page Apr 22, 2021 · 12 revisions

Welcome to the LuaWebGen documentation. See the sidebar for all topics.

Notes

You can use any standard Lua library normally in your code, like io and os (including lfs, and socket if it's installed).

You cannot add you own globals directly - use the scripts folder to define global functions, and the data folder to store globally accessible data. The idea is that this restriction should prevent accidental global access.

The output folder is automatically cleaned from files and folders that do not exist in the content folder, so don't save any files in the output folder!