add a dev/dartdoc.dart script to generate docs for the packages/ packages

* add a dev/dartdoc.dart script to generate docs for the packages/ packages

* remove description

* rename readme

* change to using --include-external

* move docs to dev/docs
This commit is contained in:
Devon Carew
2016-04-05 12:33:12 -07:00
parent e9a24510bd
commit 9a4c2c681f
12 changed files with 188 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
analyzer:
exclude:
- 'lib/**'

8
dev/docs/.gitignore vendored Normal file
View File

@@ -0,0 +1,8 @@
.pub/
packages
.packages
pubspec.lock
pubspec.yaml
api/
lib/

6
dev/docs/README.md Normal file
View File

@@ -0,0 +1,6 @@
Flutter is a new way to build high-performance, cross-platform mobile apps.
Flutter is optimized for today's, and tomorrow's, mobile devices. We are focused
on low-latency input and high frame rates on Android and iOS.
See the [getting started guide](https://flutter.io/getting-started/) for
information about using Flutter.

9
dev/docs/analytics.html Normal file
View File

@@ -0,0 +1,9 @@
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-67589403-2', 'auto');
ga('send', 'pageview');
</script>

49
dev/docs/styles.html Normal file
View File

@@ -0,0 +1,49 @@
<!-- style overrides for dartdoc -->
<style>
header {
background-color: #917FFF;
}
body {
font-size: 16px;
line-height: 1.5;
color: #111;
background-color: #fdfdfd;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 300;
}
h1 {
font-size: 42px !important;
letter-spacing: -1px;
line-height: 1;
}
h2 {
font-size: 32px;
}
pre > code {
font-size: 14px;
}
</style>
<!-- The following rules are from http://google.github.io/material-design-icons/ -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<style>
/* Rules for sizing the icon. */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }
/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }
/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
</style>