diff --git a/src/content/effective-dart/_toc.md b/src/content/effective-dart/_toc.md index fde921a73a..1d5f4e0f1b 100644 --- a/src/content/effective-dart/_toc.md +++ b/src/content/effective-dart/_toc.md @@ -4,7 +4,7 @@ To re-generate it, please run the following command from root of the project: ``` -$ dart run dart_site effective-dart +./dash_site effective-dart ``` {% endcomment %} diff --git a/tool/dart_site/lib/src/commands/generate_effective_dart_toc.dart b/tool/dart_site/lib/src/commands/generate_effective_dart_toc.dart index f0e5f26a5a..19232f5067 100644 --- a/tool/dart_site/lib/src/commands/generate_effective_dart_toc.dart +++ b/tool/dart_site/lib/src/commands/generate_effective_dart_toc.dart @@ -39,7 +39,7 @@ final class GenerateEffectiveDartToc extends Command { } Future _generateToc({bool justCheck = false}) async { - const dirPath = 'src/effective-dart'; + const dirPath = 'src/content/effective-dart'; const filenames = ['style.md', 'documentation.md', 'usage.md', 'design.md']; final sections = @@ -75,7 +75,7 @@ To re-generate it, please run the following command from root of the project: ``` -$ dart run dart_site effective-dart +./dash_site effective-dart ``` {% endcomment %} ''');