Merge pull request #1375 from devoncarew/customize_dartdoc

customize the generated dartdoc to look like flutter.io
This commit is contained in:
Devon Carew 2015-09-28 12:01:54 -07:00
commit ebd7fa3e36
7 changed files with 36 additions and 14 deletions

View File

@ -1,9 +0,0 @@
{
"firebase": "skydocs",
"public": "api",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}

View File

@ -0,0 +1,31 @@
<!-- 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>

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// The Flutter gesture recognizers
/// The Flutter gesture recognizers.
library gestures;
export 'src/gestures/arena.dart';

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Flutter widgets implementing Material Design
/// Flutter widgets implementing Material Design.
///
/// See https://www.google.com/design/spec/material-design/introduction.html
library material;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// The Flutter painting library
/// The Flutter painting library.
///
/// This library includes a variety of classes that wrap the Flutter
/// engine's painting API for more specialised purposes, such as painting scaled

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// The Flutter rendering tree
/// The Flutter rendering tree.
library rendering;
export 'package:sky/src/rendering/auto_layout.dart';

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// System services exposed to Flutter apps
/// System services exposed to Flutter apps.
///
/// For example, this library includes [fetch], which fetches data from the
/// network.