Skip to content

Commit 3dc225f

Browse files
authored
Fix Effective Dart TOC script (#5680)
The script didn't account for the updated file location :)
1 parent 3217adf commit 3dc225f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/content/effective-dart/_toc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ To re-generate it, please run the following command from root of
44
the project:
55

66
```
7-
$ dart run dart_site effective-dart
7+
./dash_site effective-dart
88
```
99
{% endcomment %}
1010

tool/dart_site/lib/src/commands/generate_effective_dart_toc.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ final class GenerateEffectiveDartToc extends Command<int> {
3939
}
4040

4141
Future<int> _generateToc({bool justCheck = false}) async {
42-
const dirPath = 'src/effective-dart';
42+
const dirPath = 'src/content/effective-dart';
4343
const filenames = ['style.md', 'documentation.md', 'usage.md', 'design.md'];
4444

4545
final sections =
@@ -75,7 +75,7 @@ To re-generate it, please run the following command from root of
7575
the project:
7676
7777
```
78-
$ dart run dart_site effective-dart
78+
./dash_site effective-dart
7979
```
8080
{% endcomment %}
8181
''');

0 commit comments

Comments
 (0)