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

Unified Diff: utils/apidoc/apidoc.dart

Issue 8973004: Move Nathan's HTML scripts over and rename to apidoc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 | « utils/apidoc/apidoc ('k') | utils/apidoc/html_diff.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/apidoc.dart
diff --git a/client/html/scripts/html_doc.dart b/utils/apidoc/apidoc.dart
similarity index 87%
rename from client/html/scripts/html_doc.dart
rename to utils/apidoc/apidoc.dart
index 784fb5013abf5b36f5cbf73718ff8741d8d72893..18f248332286ec9ae3be0b13ab5ac6581583c6c6 100644
--- a/client/html/scripts/html_doc.dart
+++ b/utils/apidoc/apidoc.dart
@@ -3,21 +3,15 @@
// BSD-style license that can be found in the LICENSE file.
/**
- * A script to document the HTML library, including annotations on the mapping
- * to and from the DOM library. To use it, from utils/dartdoc, run:
- *
- * $ htmldoc
- *
- * This works just like `dartdoc html`, with the additions of the DOM/HTML
- * mapping documentation.
+ * Generates the complete set of corelib reference documentation.
*/
-#library('html_doc');
+#library('apidoc');
#import('html_diff.dart');
-#import('../../../frog/lang.dart');
-#import('../../../frog/file_system_node.dart');
-#import('../../../frog/file_system.dart');
-#import('../../../utils/dartdoc/dartdoc.dart', prefix: 'doc');
+#import('../../frog/lang.dart');
+#import('../../frog/file_system_node.dart');
+#import('../../frog/file_system.dart');
+#import('../dartdoc/dartdoc.dart', prefix: 'doc');
HtmlDiff _diff;
@@ -25,17 +19,17 @@ void main() {
var files = new NodeFileSystem();
parseOptions('../../frog', [] /* args */, files);
initializeWorld(files);
- final htmldoc = new Htmldoc();
+ final apidoc = new Apidoc();
HtmlDiff.initialize();
_diff = new HtmlDiff();
_diff.run();
world.reset();
- htmldoc.document('html');
+ apidoc.document('html');
}
-class Htmldoc extends doc.Dartdoc {
+class Apidoc extends doc.Dartdoc {
getTypeComment(Type type) {
return _mergeComments(super.getTypeComment(type), getTypeDoc(type));
}
« no previous file with comments | « utils/apidoc/apidoc ('k') | utils/apidoc/html_diff.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698