Merge pull request #1375 from devoncarew/customize_dartdoc
customize the generated dartdoc to look like flutter.io
This commit is contained in:
commit
ebd7fa3e36
@ -1,9 +0,0 @@
|
||||
{
|
||||
"firebase": "skydocs",
|
||||
"public": "api",
|
||||
"ignore": [
|
||||
"firebase.json",
|
||||
"**/.*",
|
||||
"**/node_modules/**"
|
||||
]
|
||||
}
|
31
packages/flutter/doc/styles.html
Normal file
31
packages/flutter/doc/styles.html
Normal 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>
|
@ -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';
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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';
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user