ldoc
ldoc copied to clipboard
Feature request: be able to skip the parsing
In my case, I have access (introspectively) to a variety of documentation. Right now, I'm writing out "fake" luadoc input files like those included for the Lua standard library, but given http://stevedonovan.github.com/ldoc/topics/doc.md.html#Internal_Data_Representation it seems like it would be smoother to pass data in process, as well as be able to pass a serialized table dump as input instead of/in addition to lua and c files to parse.
This would be fairly straightforward, although I'd have to specify that internal representation better! Reading in a serialized table is the obvious way. By 'in process' you would mean using LDoc as a library?
Yes, that's what I meant.
Using LDoc as a library is an interesting idea, but let's keep things simple for 1.3 release. (Perhaps you can generate fake luadoc files with a script?)
Contributions welcome. I don't have a lot of time to develop this myself but am trying to keep up with facilitating PRs.