Skip to content
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

Decorator based documentation #20

Merged
merged 31 commits into from
Mar 3, 2016
Merged

Decorator based documentation #20

merged 31 commits into from
Mar 3, 2016

Conversation

bmatsuo
Copy link
Owner

@bmatsuo bmatsuo commented Mar 3, 2016

This replaces the markdown reference docs with documentation served by the repl and the new "doc" module.

Eventually this will be used to generate markdown (or html) documentation to finally fix #4. But there is a little more work to do for that.

This allows for reasonable top-level module help without any extra work.

    help(lark)
    help(path)
The section is renamed Functions because it no longer contains anything
else.  Module variables need to be documented another way.  There may
need to be a new doc.var() decorator to document variables similar to
parameters.
Until auto generation of the docs is available this is the easiest way
to be consistent.
bmatsuo added a commit that referenced this pull request Mar 3, 2016
Decorator based documentation
@bmatsuo bmatsuo merged commit 385383d into master Mar 3, 2016
@bmatsuo bmatsuo deleted the bmatsuo/luadocs branch March 3, 2016 07:38
@bmatsuo bmatsuo mentioned this pull request Mar 3, 2016
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autogenerated lua documentation
1 participant