0

I want to generate documentation for my lua project but with Ldoc i generate docs for each single lua file and the output file every time overwrite the index.html file .

So my question is how i can generate generate documentation for the whole project with index page that has link to the all pages.

I tried to do that with see tag but i don't know if i can use it to reference to another file not another part in the document

I used this:

ldoc.lua.bat pathtomyproject/filename.lua

The output is the default path myluainstallationpath/doc/index.html.

Oliver
  • 27,510
  • 9
  • 72
  • 103
Antwan
  • 3,837
  • 9
  • 41
  • 62

1 Answers1

2

Try ldoc.lua.bat pathtomyproject instead. This will generate the docs for all the files in pathtomyproject and will generate an index.html that links to each file used in that folder..

Oliver
  • 27,510
  • 9
  • 72
  • 103
  • Hm, I try something similar but ldoc does not generate anything if I pass the root directory ([see](https://github.com/stevedonovan/LDoc/issues/258)). Any idea what I might do wrong? – Stefan Falk Dec 18 '16 at 11:04