hide some unnecessary headers from the generated docs (#5020)
This commit is contained in:
parent
69aef8f217
commit
b8d15a1e61
@ -51,8 +51,7 @@
|
||||
}
|
||||
|
||||
.sidebar h5 {
|
||||
padding-top: 0 !important;
|
||||
text-transform: uppercase;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar-offcanvas-left {
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user