-
Notifications
You must be signed in to change notification settings - Fork 125
New Feature: Generate Markdown files instead of static HTML #1479
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
Comments
Much of dartdoc's internals presently assume we're building HTML, so this is unlikely to happen anytime soon. The wording in the README is ambiguous, I think it was intended to communicate that the location dartdoc writes to is configurable rather than the output format. |
it would be a great feature |
@jcollins-g Thanks for the feedback. I understand it's not there now and was likely not in mind for the future. |
Reviving this issue. Markdown generation support for dartdoc is now definitely on the radar, and a number of recent PRs are addressing the issue of dartdoc internals assuming HTML generation. These include #2072, #2076, #2077, #2078, #2080, #2081, #2085, and #2086. I'll let @jdkoren fill in more information as the design is fleshed out. |
All the pull requests have been merged! Any update on the feature? |
@akashgurava we're pretty close, Dartdoc can generate the pages now. There are a few outstanding things that I might break into separate issues. |
@jdkoren Once we're to the point where the pages are reasonable and we have some kind of automated spot-checking for the output, I think we can close this bug and maybe file issues related to markdown separately. Are we at that point now or are there big missing pieces before we can declare the basic implementation done? |
I am not sure what automated spot-checking means but the functionality has been working great for us so far. Thanks! |
Well, if the functionality is working and being widely used, that's good enough. I'd like more end to end tests but I always want more tests. :-) Closing. |
What is the command to generate markdown instead of HTML doc? |
TL;DR
Misread line of README to suggest I could generate Markdown files from dartdoc. Realized I can't and would like to request that feature.
Longer version:
First, not having this feature isn't causing any problems.
Second the following line in the README makes me think there was a way to do so, but after digging around I don't believe so. If that is an incorrect determination, please let me know.
The mentioned line, emphasis mine.
I looked at the help commend output and the documentation and didn't see anything that might allow this.
However, as a newcomer to Dart. I was interested in a way to take the potentially Markdown written comments within my code and assemble it into Markdown files.
The Use Case being I work on GitHub and BitBucket and both providers store their Wiki sections in git repositories.
So I if I could take the comments and generate Markdown files, I could push them to the Wiki repo of my project repo.
The text was updated successfully, but these errors were encountered: