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

Include method/function source in documentation #199

Open
jasonl99 opened this issue Mar 24, 2015 · 1 comment
Open

Include method/function source in documentation #199

jasonl99 opened this issue Mar 24, 2015 · 1 comment
Labels

Comments

@jasonl99
Copy link

I think it would be useful to include the source of each method (minus the documentation that has already been extracted) in an initially-collapsed element. I've tried to look at the code and figure out how to do this, but it's way over my head :).

There'd be a "Show Source" button that would toggle visibility, and show something like this:

version: ->
    JSON.parse(
      FS.readFileSync(Path.join(__dirname, '..', 'package.json'), 'utf-8')
    )['version']
@waissbluth
Copy link

I support this; it would be extremely useful. This was proposed three years ago here #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants