-
Notifications
You must be signed in to change notification settings - Fork 133
Add flag and rebuild test package docs #1457
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
| defaultsTo: false); | ||
| parser.addFlag( | ||
| 'hide-sdk-text', | ||
| help: |
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.
add hide: true?
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.
whoops. Fixed.
lib/src/model.dart
Outdated
| @override | ||
| String get documentation => documentationFrom._documentationLocal; | ||
| String get documentation { | ||
| String x = documentationFrom._documentationLocal; |
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.
use the function shorthand?
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.
Oops. I keep forgetting to undo my manual conditional breakpoints completely.
lib/src/config.dart
Outdated
| if (categoryOrder == null) { | ||
| categoryOrder = new UnmodifiableListView<String>([]); | ||
| } | ||
| if (dropTextFrom == null) { |
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.
??=
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.
done
|
lgtm |
Fixes #1456 and should enable dartdoc tests to work reliably in the SDK.
As discussed before, add a flag to hide the imported SDK docs in the integration tests.