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

Unified Diff: pkg/docgen/lib/docgen.dart

Issue 18999006: Added a uploadsdk python script. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
« pkg/docgen/bin/uploadsdk.py ('K') | « pkg/docgen/bin/uploadsdk.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/lib/docgen.dart
diff --git a/pkg/docgen/lib/docgen.dart b/pkg/docgen/lib/docgen.dart
index 3431fe89b42be489e7d0f33fb5380baed8786905..ecdafd6eefa427d6bd83ed397c5a6f98b58a85fe 100644
--- a/pkg/docgen/lib/docgen.dart
+++ b/pkg/docgen/lib/docgen.dart
@@ -215,7 +215,8 @@ void _documentLibraries(List<LibraryMirror> libraries,
// Outputs a text file with a list of files available after creating all
// the libraries. This will help the viewer know what files are available
// to read in.
- _writeToFile(listDir("docs").join('\n'), 'library_list.txt');
+ _writeToFile(listDir('docs').join('\n').replaceAll('docs/', ''),
+ 'library_list.txt');
}
Library generateLibrary(dart2js.Dart2JsLibraryMirror library,
« pkg/docgen/bin/uploadsdk.py ('K') | « pkg/docgen/bin/uploadsdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698