Commit b8d15a1e authored by Devon Carew's avatar Devon Carew Committed by GitHub

hide some unnecessary headers from the generated docs (#5020)

parent 69aef8f2
...@@ -51,8 +51,7 @@ ...@@ -51,8 +51,7 @@
} }
.sidebar h5 { .sidebar h5 {
padding-top: 0 !important; display: none;
text-transform: uppercase;
} }
.sidebar-offcanvas-left { .sidebar-offcanvas-left {
......
...@@ -100,7 +100,7 @@ void createIndexAndCleanup() { ...@@ -100,7 +100,7 @@ void createIndexAndCleanup() {
void removeOldFlutterDocsDir() { void removeOldFlutterDocsDir() {
try { try {
new Directory('$kDocRoot/flutter').deleteSync(recursive: true); new Directory('$kDocRoot/flutter').deleteSync(recursive: true);
} catch(e) { } catch (e) {
// If the directory does not exist, that's OK. // If the directory does not exist, that's OK.
} }
} }
...@@ -109,8 +109,8 @@ void renameApiDir() { ...@@ -109,8 +109,8 @@ void renameApiDir() {
new Directory('$kDocRoot/api').renameSync('$kDocRoot/flutter'); new Directory('$kDocRoot/api').renameSync('$kDocRoot/flutter');
} }
File copyIndexToRootOfDocs() { void copyIndexToRootOfDocs() {
return new File('$kDocRoot/flutter/index.html').copySync('$kDocRoot/index.html'); new File('$kDocRoot/flutter/index.html').copySync('$kDocRoot/index.html');
} }
void addHtmlBaseToIndex() { void addHtmlBaseToIndex() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment