Chromium Code Reviews| Index: utils/apidoc/apidoc.dart |
| diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart |
| index ba777aac94ad458b27977e691a55f87af74409d1..95b2afdc7dced345b49f26a764da71510382894d 100644 |
| --- a/utils/apidoc/apidoc.dart |
| +++ b/utils/apidoc/apidoc.dart |
| @@ -62,6 +62,7 @@ void main() { |
| } |
| final libPath = doc.scriptDir.append('../../'); |
| + final pkgPath = doc.scriptDir.append('../../pkg/'); |
| doc.cleanOutputDirectory(outputDir); |
| @@ -90,7 +91,7 @@ void main() { |
| htmldoc.includeApi = true; |
| htmldoc.documentLibraries( |
| <Path>[doc.scriptDir.append('../../lib/html/doc/html.dartdoc')], |
| - libPath); |
| + libPath, pkgPath); |
|
Lasse Reichstein Nielsen
2012/09/19 12:06:49
Now you are passing two paths around together almo
Johnni Winther
2012/09/20 08:55:59
The first is fixed by the system and the second ca
|
| // Process libraries. |
| @@ -136,7 +137,7 @@ void main() { |
| apidoc.includedLibraries = includedLibraries; |
| Futures.wait([copiedStatic, copiedApiDocStatic]).then((_) { |
| - apidoc.documentLibraries(apidocLibraries, libPath); |
| + apidoc.documentLibraries(apidocLibraries, libPath, pkgPath); |
| final compiled = doc.compileScript(mode, outputDir, libPath); |