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

Config flag for not including source code into output html #68

Closed
anyalir opened this issue Sep 3, 2015 · 4 comments
Closed

Config flag for not including source code into output html #68

anyalir opened this issue Sep 3, 2015 · 4 comments

Comments

@anyalir
Copy link

@anyalir anyalir commented Sep 3, 2015

I'd love to use esdoc to generate public documentation for a project at Work. But unfortunately, since we are not open-sourcing the code, I cannot use esdoc, as long as it includes the source code.

The idea would be to have a config flag includeSource that would default to true. If its set to false, the output html should not contain any source code.

I'd be happy to submit a pull request, If you can give me some pointers as to the best way of implementing this :)

@h13i32maru
Copy link
Member

@h13i32maru h13i32maru commented Sep 3, 2015

@Weitklick Hi! Thanks for this issue!
I consider way to disabled including source code. Please wait a little.

@h13i32maru
Copy link
Member

@h13i32maru h13i32maru commented Sep 6, 2015

I published ESDoc v0.2.5. This version support config.includeSource.
You can config:

{
  ...,
  "includeSource": false
}

see https://esdoc.org/config.html for more information.

@h13i32maru h13i32maru closed this Sep 6, 2015
@anyalir
Copy link
Author

@anyalir anyalir commented Sep 7, 2015

Wow, you are fast! Much appreciated, thanks a bunch! 👍

@h13i32maru
Copy link
Member

@h13i32maru h13i32maru commented Feb 21, 2016

duplicate #67

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.