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

Side by Side Diff: tools/dom/docs/bin/docs.dart

Issue 12035057: First half of the new HTML json docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 /**
6 * TODO(amouravski): Document stuff here.
7 */
8
9 import 'dart:io';
10 import 'dart:async';
11
12 import '../lib/docs.dart';
13
14 main() {
15 var jsonPath = scriptDir.append('../docs.json');
16 var libPath = scriptDir.append('../../../../sdk/').canonicalize();
17
18 var anyErrors = convert(libPath, jsonPath);
19
20 print('Converted HTML docs ${anyErrors ? "with $anyErrors" : "without"} errors .');
blois 2013/01/24 02:28:24 line length
Andrei Mouravski 2013/01/24 19:28:51 Done.
21 }
22
23 /**
24 * Gets the full path to the directory containing the entrypoint of the current
25 * script.
26 */
27 Path get scriptDir =>
28 new Path(new Options().script).directoryPath;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698