diff --git a/doc/index.html b/doc/index.html index 3eb4f0f3de..aeb96ebfed 100644 --- a/doc/index.html +++ b/doc/index.html @@ -69,6 +69,21 @@ from a single codebase.
The main Flutter framework libraries.
+

Supporting Packages

+ +
+
flutter_test
+
Testing library for Flutter, built on top of package:test.
+ +
cassowary
+
An implementation of the Cassowary constraint solving algorithm.
+ +
newton
+
Simple physics simulations.
+ +
playfair
+
A simple charting library for Flutter.
+
diff --git a/packages/cassowary/lib/cassowary.dart b/packages/cassowary/lib/cassowary.dart index 913ec48cf2..c78b152571 100644 --- a/packages/cassowary/lib/cassowary.dart +++ b/packages/cassowary/lib/cassowary.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// An implementation of the Cassowary constraint solving algorithm in Dart. library cassowary; import 'dart:math'; diff --git a/packages/flutter_test/lib/flutter_test.dart b/packages/flutter_test/lib/flutter_test.dart index 9ba1d17a47..3ad859be8f 100644 --- a/packages/flutter_test/lib/flutter_test.dart +++ b/packages/flutter_test/lib/flutter_test.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// Testing library for flutter, built on top of package:test. library flutter_test; export 'src/test_pointer.dart'; diff --git a/packages/newton/lib/newton.dart b/packages/newton/lib/newton.dart index c70ca3cb02..cc32dc016e 100644 --- a/packages/newton/lib/newton.dart +++ b/packages/newton/lib/newton.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// Simple Physics Simulations for Dart. Springs, friction, gravity, etc. library newton; import 'dart:math' as math; diff --git a/packages/playfair/lib/playfair.dart b/packages/playfair/lib/playfair.dart index 8a408ccb4a..be292be5f3 100644 --- a/packages/playfair/lib/playfair.dart +++ b/packages/playfair/lib/playfair.dart @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// A simple charting library for Flutter. library playfair; import 'dart:ui' as ui; diff --git a/travis/test.sh b/travis/test.sh index fcae182eb5..fa40680e45 100755 --- a/travis/test.sh +++ b/travis/test.sh @@ -22,14 +22,24 @@ if [ $TRAVIS_PULL_REQUEST = "false" ]; then if [ $TRAVIS_BRANCH = "master" ]; then pub global activate dartdoc 0.8.4 cat packages/flutter/doc/styles.html doc/_analytics.html > /tmp/_header.html + + # TODO(eseidel): This should just call a helper script. + # If you add a package to this list, update doc/index.html to point to it. (cd packages/flutter; ~/.pub-cache/bin/dartdoc --header=/tmp/_header.html) + (cd packages/playfair; ~/.pub-cache/bin/dartdoc --header=/tmp/_header.html) + (cd packages/newton; ~/.pub-cache/bin/dartdoc --header=/tmp/_header.html) + (cd packages/cassowary; ~/.pub-cache/bin/dartdoc --header=/tmp/_header.html) + (cd packages/flutter_test; ~/.pub-cache/bin/dartdoc --header=/tmp/_header.html) GSUTIL=$HOME/google-cloud-sdk/bin/gsutil GCLOUD=$HOME/google-cloud-sdk/bin/gcloud $GCLOUD auth activate-service-account --key-file gcloud_key_file.json - $GSUTIL -m -q rsync -r -d packages/flutter/doc/api gs://docs.flutter.io/flutter - $GSUTIL -m -q rsync -r -d packages/flutter/doc/api gs://docs.domokit.org/flutter $GSUTIL -m -q cp doc/index.html gs://docs.flutter.io/index.html - $GSUTIL -m -q cp doc/index.html gs://docs.domokit.org/index.html + + $GSUTIL -m -q rsync -r -d packages/flutter/doc/api gs://docs.flutter.io/flutter + $GSUTIL -m -q rsync -r -d packages/playfair/doc/api gs://docs.flutter.io/playfair + $GSUTIL -m -q rsync -r -d packages/newton/doc/api gs://docs.flutter.io/newton + $GSUTIL -m -q rsync -r -d packages/cassowary/doc/api gs://docs.flutter.io/cassowary + $GSUTIL -m -q rsync -r -d packages/flutter_test/doc/api gs://docs.flutter.io/flutter_test fi fi