diff --git a/dev/bots/post_process_docs.dart b/dev/bots/post_process_docs.dart index 8be41235fa..b88f04f618 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); }