-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autogenerated lua documentation #4
Comments
I found a couple potential solutions, neither project seems particularly active over the past years though:
|
This has made me realize that there is some difficulty in presenting third-party libs as part of the (self-contained) Lark system. The utility of a library needs to be carefully weighed against the cost of integration. I think a simple decorator based DSL could probably work fine in this case and avoid the need to include a third-partly lib. For users, it's not clear how important a particular documentation solution is. It seems most important that the documentation is available and in a format that makes sense (particularly in regard to function signatures). |
Another desirable result from a documentation solution would be the ability to browse task documentation using the lark command. An annotation based solution seems like it would work the best for this situation. |
This issue was closed accidentally by #20. |
I've started working on a static html generator for the lua doc module. But I'm realizing that it may be simpler in this regard if #24 did not include the entire "lark.task" module in the There is a potential problem generating documentation recursively on nested objects/functions. It's not entirely clear how big of a problem this is. If |
The disconnect between implementation and documentation is destined to repeatedly get out of sync. Ideally documentation could be attached to the implementation and extracted by a tool. Bonus points are available to a solution that allows the
lark
command to be used to browse docs (possibly through an embedded interpreter).The text was updated successfully, but these errors were encountered: