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

Unified Diff: utils/dartdoc/files.dart

Issue 8963006: Document static members separately from instance ones. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 | « utils/dartdoc/dartdoc.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/dartdoc/files.dart
diff --git a/utils/dartdoc/files.dart b/utils/dartdoc/files.dart
index 5352a9271b230a0af9144a9fbf8a38ccf0445c0f..b63fa718d27973083ca2b3615d7901c214f3e57b 100644
--- a/utils/dartdoc/files.dart
+++ b/utils/dartdoc/files.dart
@@ -10,6 +10,9 @@ String _filePath;
/** The file currently being written to. */
StringBuffer _file;
+/** Path to generate HTML files into. */
+final _outdir = 'docs';
+
startFile(String path) {
_filePath = path;
_file = new StringBuffer();
@@ -25,7 +28,7 @@ writeln(String s) {
}
endFile() {
- String outPath = '$outdir/$_filePath';
+ String outPath = '$_outdir/$_filePath';
world.files.createDirectory(dirname(outPath), recursive: true);
world.files.writeString(outPath, _file.toString());
« no previous file with comments | « utils/dartdoc/dartdoc.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698