From 0186b1496bdb264f00b5fb666d5c4c4dd518cb04 Mon Sep 17 00:00:00 2001 From: godofredoc Date: Thu, 3 Nov 2022 11:15:07 -0700 Subject: [PATCH] Fix the path where footer is written. (#114469) The footer file was being written in dev/bot instead of dev/docs. Bug: https://github.com/flutter/flutter/issues/113805 --- dev/bots/post_process_docs.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/bots/post_process_docs.dart b/dev/bots/post_process_docs.dart index 8be41235fa8..b88f04f6180 100644 --- a/dev/bots/post_process_docs.dart +++ b/dev/bots/post_process_docs.dart @@ -65,7 +65,7 @@ Future 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); }