-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add JSON export option #145
Comments
Hello! There's a small detail to be aware of: |
I think one json file/output per package containing all of |
Ah, I see. Thinking about this a bit more, I'm not sure that belongs in doc2go. |
The json output in |
I understand. I wonder why it hasn't been merged yet. Unfortunately, I don't think a A FWIW, it's possible to parse Go code comments using the official go/doc package. You can likely use that to write a simple CLI that generates JSON for consumption by your editor. I'm going to close this issue for now unless I see a real use case for doc2go to support JSON output. |
Thanks for looking into it. It sounds reasonable to use the official go/doc package instead. |
I'm looking for a way to generate documentation in JSON format (instead of HTML) so that I can provide inline documentation for an editor. Similar to golang/go#34293
Would this be possible with this library?
The text was updated successfully, but these errors were encountered: