ldoc icon indicating copy to clipboard operation
ldoc copied to clipboard

Feature request: be able to skip the parsing

Open rpavlik opened this issue 13 years ago • 4 comments

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.

rpavlik avatar Jan 26 '12 23:01 rpavlik

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?

stevedonovan avatar Jan 27 '12 07:01 stevedonovan

Yes, that's what I meant.

rpavlik avatar Jan 31 '12 20:01 rpavlik

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?)

stevedonovan avatar Jan 28 '13 10:01 stevedonovan

Contributions welcome. I don't have a lot of time to develop this myself but am trying to keep up with facilitating PRs.

alerque avatar May 03 '23 07:05 alerque