I’m experimenting with AI based tooling (have been using Cursor AI recently), and have now generated a whole bunch of API docs for Lua APIs based on the source code and tests, which should be valuable for people playing with Space Lua:
I think this kind of up to date doc for lua and other api entries should be a very important part of the silverbullet. I wonder if it is better directly generated from the docstring instead of relying on repeated human effort to update them?
Ah, that could be tricky to deal with. Maybe we need to rely on some specifically designed ci for gathering from these sources? I’ll try to have a look at it once I have time (currently the only available time is used to upgrade to v2).
As a proof for such need: I just found an undocumented editor method getCurrentLine() that can help me acquire many required line informations. Luckily I can find it from the completion but still would be nice if we ensure the doc is properly there.