Skip to content

Commit

Permalink
Fix the path where footer is written. (flutter#114469)
Browse files Browse the repository at this point in the history
The footer file was being written in dev/bot instead of dev/docs.

Bug: flutter#113805
  • Loading branch information
godofredoc committed Nov 3, 2022
1 parent 33b81ed commit 0186b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/bots/post_process_docs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Future<void> postProcess() async {
final File versionFile = File('version');
final String version = versionFile.readAsStringSync();
// Recreate footer
final String publishPath = path.join(docsPath, 'doc', 'api', 'footer.js');
final String publishPath = path.join(docsPath, '..', 'docs', 'doc', 'flutter', 'footer.js');
final File footerFile = File(publishPath)..createSync(recursive: true);
createFooter(footerFile, version);
}
Expand Down

0 comments on commit 0186b14

Please sign in to comment.