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

Unified Diff: utils/apidoc/apidoc.dart

Issue 23757006: Fix current dartdoc to not exclude mocking library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | 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 d1639c16ad0e7b27574588dcf0c79ab79ff0b83d..fe4e617b5be906f53d59124ee7fbc0becc4878b9 100644
--- a/utils/apidoc/apidoc.dart
+++ b/utils/apidoc/apidoc.dart
@@ -163,14 +163,14 @@ void main() {
var libPath = '../../$lib';
if (new File(libPath).existsSync()) {
apidocLibraries.add(path.toUri(libPath));
- var libName = libPath.replaceAll('.dart', '');
+ var libName = path.basename(libPath).replaceAll('.dart', '');
includedLibraries.add(libName);
}
}
final apidoc = new Apidoc(mdn, outputDir, mode, generateAppCache,
excludedLibraries, version);
- apidoc.dartdocPath =
+ apidoc.dartdocPath =
path.join(scriptDir, '..', '..', 'sdk', 'lib', '_internal', 'dartdoc');
// Select the libraries to include in the produced documentation:
apidoc.includeApi = true;
« 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