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

Unified Diff: pkg/docgen/bin/docgen.dart

Issue 139993008: Additional refactoring for docgen. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/docgen/lib/docgen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/bin/docgen.dart
diff --git a/pkg/docgen/bin/docgen.dart b/pkg/docgen/bin/docgen.dart
index 2a116de5b1bec5557663576bbb3959b1757c1734..4f79a979afe1dddeb9a2aee5266dd791da3a6669 100644
--- a/pkg/docgen/bin/docgen.dart
+++ b/pkg/docgen/bin/docgen.dart
@@ -32,7 +32,9 @@ void main(List<String> arguments) {
introFileName: introduction,
out: results['out'],
excludeLibraries: excludedLibraries,
- includeDependentPackages: results['include-dependent-packages']);
+ includeDependentPackages: results['include-dependent-packages'],
+ serve: results['serve'],
+ noDocs: results['no-docs']);
}
/**
@@ -72,6 +74,11 @@ ArgParser _initArgParser() {
parser.addFlag('append',
help: 'Append to the docs folder, library_list.json and index.txt',
defaultsTo: false, negatable: false);
+ parser.addFlag('serve', help: 'Clone the documentation viewer repo locally '
+ '(if not already present) and start a simple server', defaultsTo: false,
+ negatable: false);
+ parser.addFlag('no-docs', help: 'Do not generate any new documentation',
+ defaultsTo: false, negatable: false);
parser.addOption('introduction',
help: 'Adds the provided markdown text file as the introduction'
' for the generated documentation.', defaultsTo: '');
« no previous file with comments | « no previous file | pkg/docgen/lib/docgen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698