Quick documentation lookup for Garry's Mod Lua, inspired by http://dochub.io/
- Faster documentation lookup
- Sorted by Lua state (server, shared, client, menu)
- Code syntax highlighting
- Offline availability
- Links back to wiki
Updating GLua Docs involves scraping the Garry's Mod Wiki. It's suggested not to run this too often as to respect bandwidth usage. Node.js is required to run the scraper.
cd scraper
npm install # install node.js dependencies (see package.json)
node scrape.js # run the scraper
Grunt is used to run various processes on the code prior to deployment.
Reading through the Getting Started guide should help in setting up Grunt.
Simply run grunt
from the command line to build the necessary project files into /app