-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Dartdoc Generation README Improvements #34073
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! 🎉
You can choose to ignore most of these nits if you like.
As I was reading through, I got lost a few times around code blocks, examples, samples, snippets - samples of samples kind of thing.. 😜
I tried to make them more uniform in the suggestions below. Here's how I appraoched formatting them:
- block = finished product that is seen in the API documentation
- example = an example of one of the tools in use
snippets
= the toolsample
= the tool- sample = the literal/copiable code within the finished block
Let me know what you think!
Those suggestions are great! Honestly, I was getting lost in my head too with the mix-and-match of samples, snippets, examples, and blocks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
With one nit of the 'the the' variety... 😉
Addresses #31628 as well |
Description
preamble
andimports
The image links seem broken because they are relative links. See https://github.com/shihaohong/flutter/tree/dartdocs/dev/snippets for how they would actually turn out.
Related Issues
Fixes #32725