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

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

Issue 14188048: add installation instructions to pkg packages (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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/unittest/lib/unittest.dart ('K') | « pkg/webdriver/lib/webdriver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/yaml/lib/yaml.dart
diff --git a/pkg/yaml/lib/yaml.dart b/pkg/yaml/lib/yaml.dart
index 94e3d4220f48c4ad3b0dff931a8029d116420770..86fca23b5e897c69d708c684787b35631bf36ed7 100644
--- a/pkg/yaml/lib/yaml.dart
+++ b/pkg/yaml/lib/yaml.dart
@@ -4,6 +4,18 @@
/// A parser for [YAML](http://www.yaml.org/).
///
+/// ## Installing ##
+///
+/// Use [pub][] to install this package. Add the following to your `pubspec.yaml`
Andrei Mouravski 2013/04/19 20:13:35 Line too long.
sethladd 2013/04/19 20:32:43 Done.
+/// file.
+///
+/// dependencies:
+/// yaml: any
+///
+/// And then run `pub install`.
+///
+/// ## Using ##
+///
/// Use [loadYaml] to load a single document, or [loadYamlStream] to load a
/// stream of documents. For example:
///
@@ -22,6 +34,8 @@
/// var doc = loadYaml("YAML: YAML Ain't Markup Language");
/// print(json.stringify(doc));
/// }
+///
+/// [pub]: http://pub.dartlang.org
library yaml;
import 'src/composer.dart';
« pkg/unittest/lib/unittest.dart ('K') | « pkg/webdriver/lib/webdriver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698