Constants - ReFreezed/LuaWebGen GitHub Wiki
Note: The documentation has moved to the LuaWebGen website. Information here may be out of date!
DATA_FILE_EXTENSIONS
Array of data file extensions that LuaWebGen understands. Currently contains "json"
, "lua"
, "toml"
and "xml"
.
.json
- JSON files..lua
- Lua files. These must return a value (that's not nil)..toml
- TOML files..xml
- XML files. (See the XML module)
(TODO: Add example usage.)
IMAGE_EXTENSIONS
Array of common image file extensions. Currently contains "png"
, "jpg"
, "jpeg"
and "gif"
.
WEBGEN_VERSION
The current version of LuaWebGen, e.g. "1.0.2"
.