diff --git a/dev/docs/styles.html b/dev/docs/styles.html
index c47edb59e7..84ab45cff1 100644
--- a/dev/docs/styles.html
+++ b/dev/docs/styles.html
@@ -51,8 +51,7 @@
}
.sidebar h5 {
- padding-top: 0 !important;
- text-transform: uppercase;
+ display: none;
}
.sidebar-offcanvas-left {
diff --git a/dev/tools/dartdoc.dart b/dev/tools/dartdoc.dart
index 0557dd4190..c4da762a82 100644
--- a/dev/tools/dartdoc.dart
+++ b/dev/tools/dartdoc.dart
@@ -100,7 +100,7 @@ void createIndexAndCleanup() {
void removeOldFlutterDocsDir() {
try {
new Directory('$kDocRoot/flutter').deleteSync(recursive: true);
- } catch(e) {
+ } catch (e) {
// If the directory does not exist, that's OK.
}
}
@@ -109,8 +109,8 @@ void renameApiDir() {
new Directory('$kDocRoot/api').renameSync('$kDocRoot/flutter');
}
-File copyIndexToRootOfDocs() {
- return new File('$kDocRoot/flutter/index.html').copySync('$kDocRoot/index.html');
+void copyIndexToRootOfDocs() {
+ new File('$kDocRoot/flutter/index.html').copySync('$kDocRoot/index.html');
}
void addHtmlBaseToIndex() {