-
Notifications
You must be signed in to change notification settings - Fork 119
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 plugin support for custom generators to dartdoc #2788
Comments
No plans that I am aware of. #1667 is a request for a JSON output. #6 is a request for a machine-readable output. The custom generation is not the most robust situation for generating something other than Markdown or HTML. For example, regardless of the templates used, Dartdoc will still generate HTML links inline, so an attempt at writing a PDF or LaTeX or something would still contain |
So based on what you said, there is no solution to do that and do you have any solution for it?
|
I don't object to creating a new generator; if you can build a good general purpose one, we may even accept it as an external contribution, though I would want to see some design documentation for the proposal first I think? If you implement a second one from scratch with the dart analyzer you may run into issues that we've already solved inside of dartdoc, but if your use case is very simple that can work. |
Since #1667 covers JSON output, I'll repurpose this bug as a more generic "support for custom generator plugins in dartdoc". |
No I don't create or write proposal this feature I just suggested my opinion about this topic and feature If I were able to do that I will response to team thanks for your response.🙌💙 |
Actually I wanted to generate json for documentation of dart codes for search and do some works easier for machines but as I searched and reviewed source codes (in client-side of api.dart.dev, api.flutter.dev and pub.dev) I found some ways to get needed information as json from these servers . |
unable to generate .md files using dartdoc plugin while trying to generate flutter project documentation. there are very limited resources available only. those not helped me at all. could you please any one give the solution for my issue. |
Hi maintainers!
The dartdoc just supports two generators, markdown and html, do you have any plan to create a generator for generating json output besides html or markdown?
Or even a way for creating custom generators by ourselves for Dartdoc class? (As I understand it has some static methods which use built-in generators - html and markdown.)
The text was updated successfully, but these errors were encountered: