A static website lua documentation generator which you can customize. Outputs ready-to-use website files. It's that simple! 🚀
A template folder must be present in the same location as XenorLuaGenerator/.exe in
./template/<your_files>Use the default template folder provided in this repository, simply move to the same folder where the executable XenorLuaGenerator is.
A showcase docs.json is included so you can test it out! Do not use docs.json from this repository, build your own using the executable!
Run XenorLuaGenerator with arguments specified below to build your website. First we need a docs.json which the web builder uses to identify all your functions.
./XenorLuaGenerator <FULL PATH TO FOLDER CONTAINING LUA FILES AND SUBFOLDERS>Example
./XenorLuaGenerator /home/MyPC/gamemodeThis will run a recursive scan on that folder and finds all your .lua files and generates a docs.json based on your comments and generates you your website files located in ./dist/ ready to be uploaded to GitHub pages for example!
It can be something like /gamemodes/my_gamemode
Run this command inside the project folder to build your own binary
cargo build --release