Upgrade dartdoc to 0.12.0 (#10296)

* update the docs css style so the generated dartdoc matches the new flutter.io

* Change to 0.12.0 dartdoc

* Review comment
This commit is contained in:
jcollins-g
2017-05-25 09:42:55 -07:00
committed by GitHub
parent 7566f73d0d
commit 7fb798f5f1
3 changed files with 35 additions and 36 deletions

View File

@@ -84,7 +84,7 @@ dependencies:
'global', 'run', 'dartdoc',
'--header', 'styles.html',
'--header', 'analytics.html',
'--footer', 'lib/footer.html',
'--footer-text', 'lib/footer.html',
'--exclude', 'temp_doc',
'--favicon=favicon.ico',
'--use-categories',
@@ -120,8 +120,8 @@ void createFooter(String footerPath) {
final String timestamp = new DateFormat('yyyy-MM-dd HH:mm').format(new DateTime.now());
new File(footerPath).writeAsStringSync(
'<p class="text-center" style="font-size: 10px">'
'Generated on $timestamp - Version $gitHead</p>'
'• </span class="no-break">$timestamp<span> '
'• </span class="no-break">$gitHead</span>'
);
}