Generating api docs Install luarocks brew install luarocks Install ldoc luarocks install ldoc Shallow init the submodules that we want to make docs for git submodule update --init Run ldoc ldoc -l _generation -x .md -f markdown _generation/libs