Skip to content

Commit 07a4f4c

Browse files
authored
canonicalization overhaul part 3: Types, Templates, and Public/Private (#1524)
* Flatten changes one last time * Fix tests post analyzer update * Review comments * Disable travis temporarily
1 parent 339faf8 commit 07a4f4c

File tree

190 files changed

+6002
-3332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+6002
-3332
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ env:
66
- DARTDOC_BOT=main
77
# TODO(devoncarew): add angulardart support
88
#- DARTDOC_BOT=angular
9-
- DARTDOC_BOT=flutter
9+
# TODO(jcollins-g): reenable flutter once it gets flags changed post #1524
10+
#- DARTDOC_BOT=flutter
1011
- DARTDOC_BOT=sdk-docs
1112
script: ./tool/travis.sh
1213
branches:

bin/dartdoc.dart

+5-3
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,11 @@ main(List<String> arguments) async {
261261
reexportMinConfidence:
262262
double.parse(args['ambiguous-reexport-scorer-min-confidence']),
263263
verboseWarnings: args['verbose-warnings'],
264+
excludePackages: args['exclude-packages'],
264265
dropTextFrom: dropTextFrom);
265266

266267
DartDoc dartdoc = new DartDoc(inputDir, excludeLibraries, sdkDir, generators,
267-
outputDir, packageMeta, includeLibraries,
268-
includeExternals: includeExternals);
268+
outputDir, packageMeta, includeLibraries, includeExternals);
269269

270270
dartdoc.onCheckProgress.listen(logProgress);
271271
await Chain.capture(() async {
@@ -275,7 +275,7 @@ main(List<String> arguments) async {
275275
},
276276
zoneSpecification: new ZoneSpecification(
277277
print: (Zone self, ZoneDelegate parent, Zone zone, String line) =>
278-
logPrint(line) ));
278+
logPrint(line)));
279279
}, onError: (e, Chain chain) {
280280
if (e is DartDocFailure) {
281281
stderr.writeln('\nGeneration failed: ${e}.');
@@ -325,6 +325,8 @@ ArgParser _createArgsParser() {
325325
'(optional text next to the package name and version).');
326326
parser.addOption('exclude',
327327
allowMultiple: true, splitCommas: true, help: 'Library names to ignore.');
328+
parser.addOption('exclude-packages',
329+
allowMultiple: true, splitCommas: true, help: 'Package names to ignore.');
328330
parser.addOption('include',
329331
allowMultiple: true,
330332
splitCommas: true,

0 commit comments

Comments
 (0)