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

Side by Side Diff: utils/apidoc/apidoc.dart

Issue 10409055: fix apidoc - we see errors when building it using build.py (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * This generates the reference documentation for the core libraries that come 6 * This generates the reference documentation for the core libraries that come
7 * with dart. It is built on top of dartdoc, which is a general-purpose library 7 * with dart. It is built on top of dartdoc, which is a general-purpose library
8 * for generating docs from any Dart code. This library extends that to include 8 * for generating docs from any Dart code. This library extends that to include
9 * additional information and styling specific to our standard library. 9 * additional information and styling specific to our standard library.
10 * 10 *
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 world.reset(); 108 world.reset();
109 109
110 // Add all of the core libraries. 110 // Add all of the core libraries.
111 world.getOrAddLibrary('dart:core'); 111 world.getOrAddLibrary('dart:core');
112 world.getOrAddLibrary('dart:coreimpl'); 112 world.getOrAddLibrary('dart:coreimpl');
113 world.getOrAddLibrary('dart:crypto'); 113 world.getOrAddLibrary('dart:crypto');
114 world.getOrAddLibrary('dart:html'); 114 world.getOrAddLibrary('dart:html');
115 world.getOrAddLibrary('dart:io'); 115 world.getOrAddLibrary('dart:io');
116 world.getOrAddLibrary('dart:isolate'); 116 world.getOrAddLibrary('dart:isolate');
117 world.getOrAddLibrary('dart:json'); 117 world.getOrAddLibrary('dart:json');
118 world.getOrAddLibrary('lib/unittest/unittest.dart'); 118 world.getOrAddLibrary('${doc.scriptDir}/../../lib/unittest/unittest.dart');
119 world.getOrAddLibrary('dart:uri'); 119 world.getOrAddLibrary('dart:uri');
120 world.getOrAddLibrary('dart:utf'); 120 world.getOrAddLibrary('dart:utf');
121 world.process(); 121 world.process();
122 122
123 print('Generating docs...'); 123 print('Generating docs...');
124 final apidoc = new Apidoc(mdn, outputDir, mode, generateAppCache); 124 final apidoc = new Apidoc(mdn, outputDir, mode, generateAppCache);
125 125
126 Futures.wait([scriptCompiled, copiedStatic, copiedApiDocStatic]).then((_) { 126 Futures.wait([scriptCompiled, copiedStatic, copiedApiDocStatic]).then((_) {
127 apidoc.document(); 127 apidoc.document();
128 }); 128 });
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 ''' 509 '''
510 <p class="correspond">This corresponds to $domTypesText in the 510 <p class="correspond">This corresponds to $domTypesText in the
511 ${a("dom.html", "dart:dom_deprecated")} library.</p> 511 ${a("dom.html", "dart:dom_deprecated")} library.</p>
512 '''; 512 ''';
513 } 513 }
514 514
515 return ''; 515 return '';
516 } 516 }
517 517
518 } 518 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698