-
-
Notifications
You must be signed in to change notification settings - Fork 721
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
What is json option? #257
Comments
I believe the json option allows you to serialize your parsed project documentation to a file. I think the idea is to use the parsed documentation in other tools. |
Can you give me an example of such tool, that consumes json and produces documentation? |
I'm not sure who's using it right now. |
We used the JSON output to create UML Diagrams in GenMyModel. Transpile the JSON output to XMI 2.1 (UML Structured in XML format) and then import that into GenMyModel. Creating the transpiler was a pain due to the limited documentation but we succeeded. Thanks to @gronke! |
Is there a definition (e.g. d.ts declaration) that serves as a schema for the generated file? I'm interested in creating a tool in Typescript that consumes this output, but the generated JSON is a monster of a file. EDIT: |
I would like the option of generating a JSON file that my app can consume. I would also like the ability to stop generating HTML files in this case. |
@sergiusignacius While it's not perfect, I usually find GenSON helpful in situations like that. |
@FlippieCoetser did you have your code for conversion from json to XMI out somewhere? That would be pretty useful. |
@Tiberriver256 @gronke and I are just checking if any private info is contained in the code. Once done we will post the link to the code here. When we developed the transpiler typescript was still at an older level which means some of the new features are not covered. but at least you will be able to see the approach we took. |
@Tiberriver256 this is the repo for the code. https://github.com/gronke/TypeDoc-GenMyModel-Transpiler |
@FlippieCoetser the link to the repo is broken. Did you open it? |
@danbars @Tiberriver256 there you go: gronke/TypeDoc-GenMyModel-Transpiler |
@FlippieCoetser @gronke Thanks guys! |
Thank you @FlippieCoetser and @gronke |
Hi, is there more information about the json option and the outputed json file? How can I use it to generate documentation?
The text was updated successfully, but these errors were encountered: