Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: lib/dartdoc.dart

Issue 2080603003: Publish `0.9.6`. (Closed) Base URL: https://github.com/dart-lang/dartdoc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « codereview.settings ('k') | pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// A documentation generator for Dart. 5 /// A documentation generator for Dart.
6 library dartdoc; 6 library dartdoc;
7 7
8 import 'dart:async'; 8 import 'dart:async';
9 import 'dart:io'; 9 import 'dart:io';
10 10
(...skipping 21 matching lines...) Expand all
32 import 'src/model_utils.dart'; 32 import 'src/model_utils.dart';
33 import 'src/package_meta.dart'; 33 import 'src/package_meta.dart';
34 34
35 export 'src/element_type.dart'; 35 export 'src/element_type.dart';
36 export 'src/generator.dart'; 36 export 'src/generator.dart';
37 export 'src/model.dart'; 37 export 'src/model.dart';
38 export 'src/package_meta.dart'; 38 export 'src/package_meta.dart';
39 39
40 const String name = 'dartdoc'; 40 const String name = 'dartdoc';
41 // Update when pubspec version changes. 41 // Update when pubspec version changes.
42 const String version = '0.9.5'; 42 const String version = '0.9.6';
43 43
44 final String defaultOutDir = p.join('doc', 'api'); 44 final String defaultOutDir = p.join('doc', 'api');
45 45
46 /// Initialize and setup the generators. 46 /// Initialize and setup the generators.
47 Future<List<Generator>> initGenerators(String url, List<String> headerFilePaths, 47 Future<List<Generator>> initGenerators(String url, List<String> headerFilePaths,
48 List<String> footerFilePaths, String relCanonicalPrefix, 48 List<String> footerFilePaths, String relCanonicalPrefix,
49 {String faviconPath, bool useCategories: false}) async { 49 {String faviconPath, bool useCategories: false}) async {
50 return [ 50 return [
51 await HtmlGenerator.create( 51 await HtmlGenerator.create(
52 url: url, 52 url: url,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 if (severity == other.severity) { 310 if (severity == other.severity) {
311 int cmp = error.source.fullName.compareTo(other.error.source.fullName); 311 int cmp = error.source.fullName.compareTo(other.error.source.fullName);
312 return cmp == 0 ? line - other.line : cmp; 312 return cmp == 0 ? line - other.line : cmp;
313 } else { 313 } else {
314 return other.severity - severity; 314 return other.severity - severity;
315 } 315 }
316 } 316 }
317 317
318 String toString() => '[${severityName}] ${description}'; 318 String toString() => '[${severityName}] ${description}';
319 } 319 }
OLDNEW
« no previous file with comments | « codereview.settings ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698