Skip to content

Commit 0dfe4a2

Browse files
authored
Move sdk_footer_text to resources directory and rebuild index (#1564)
* Rebuild index including sdk_footer_text * Undo pubspec change
1 parent fffa88c commit 0dfe4a2

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

bin/dartdoc.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ main(List<String> arguments) async {
9999
// If we're generating docs for the Dart SDK, we insert a copyright footer.
100100
if (sdkDocs) {
101101
Uri footerCopyrightUri = await Isolate.resolvePackageUri(
102-
Uri.parse('package:dartdoc/src/sdk_footer_text.html'));
102+
Uri.parse('package:dartdoc/resources/sdk_footer_text.html'));
103103
footerTextFilePaths = [footerCopyrightUri.toFilePath()];
104104
}
105105

File renamed without changes.

lib/src/html/resources.g.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ const List<String> resource_names = const [
1010
'package:dartdoc/resources/favicon.png',
1111
'package:dartdoc/resources/github.css',
1212
'package:dartdoc/resources/highlight.pack.js',
13+
'package:dartdoc/resources/readme.md',
1314
'package:dartdoc/resources/script.js',
15+
'package:dartdoc/resources/sdk_footer_text.html',
1416
'package:dartdoc/resources/styles.css',
1517
'package:dartdoc/resources/typeahead.bundle.min.js'
1618
];

0 commit comments

Comments
 (0)