Skip to content

Commit ed8eaf1

Browse files
authored
Migrate the flutter/flutter wiki to docs/unsorted_wiki (#148562)
Part of flutter/flutter#145009 This is part one of the wiki migration. This moves all wiki pages wholesale into the new docs directory with no changes. Follow up PRs will sort them, updating breadcrumbs and links.
1 parent 8317bc2 commit ed8eaf1

File tree

174 files changed

+34483
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+34483
-1
lines changed

dev/bots/analyze.dart

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,10 @@ Future<void> verifyIssueLinks(String workingDirectory) async {
12401240
final Set<String> suggestions = <String>{};
12411241
final List<File> files = await _gitFiles(workingDirectory);
12421242
for (final File file in files) {
1243-
if (path.basename(file.path).endsWith('_test.dart') || path.basename(file.path) == 'analyze.dart') {
1243+
if (path.basename(file.path).endsWith('_test.dart')
1244+
|| path.basename(file.path) == 'analyze.dart'
1245+
// TODO(Piinks): Disables checks in docs/unsorted, enabling unchanged initial migration, https://github.com/flutter/flutter/issues/145009
1246+
|| file.path.contains('unsorted_wiki')) {
12441247
continue; // Skip tests, they're not public-facing.
12451248
}
12461249
final Uint8List bytes = file.readAsBytesSync();
@@ -1322,6 +1325,10 @@ Future<void> verifyRepositoryLinks(String workingDirectory) async {
13221325
final Set<String> suggestions = <String>{};
13231326
final List<File> files = await _allFiles(workingDirectory, null, minimumMatches: 10).toList();
13241327
for (final File file in files) {
1328+
// TODO(Piinks): Disables checks in docs/unsorted, enabling unchanged initial migration, https://github.com/flutter/flutter/issues/145009
1329+
if (file.path.contains('unsorted_wiki')) {
1330+
continue;
1331+
}
13251332
final Uint8List bytes = file.readAsBytesSync();
13261333
// We allow invalid UTF-8 here so that binaries don't trip us up.
13271334
// There's a separate test in this file that verifies that all text

0 commit comments

Comments
 (0)