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

Unified Diff: utils/apidoc/apidoc.dart

Issue 10950025: Dartdoc supports package directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 8 years, 3 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 | « pkg/dartdoc/lib/dartdoc.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
// 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);
« no previous file with comments | « pkg/dartdoc/lib/dartdoc.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698