We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
keepSuffixPattern
1 parent 42dd92d commit 2614106Copy full SHA for 2614106
site/lib/main.dart
@@ -33,7 +33,10 @@ void main() {
33
Component get _docsFlutterDevSite => ContentApp.custom(
34
eagerlyLoadAllPages: true,
35
loaders: [
36
- FilesystemLoader(path.join(siteSrcDirectoryPath, 'content')),
+ FilesystemLoader(
37
+ path.join(siteSrcDirectoryPath, 'content'),
38
+ keepSuffixPattern: RegExp(r'.*\.(txt|json|pdf)$'),
39
+ ),
40
MemoryLoader(pages: allMemoryPages),
41
],
42
configResolver: PageConfig.all(
0 commit comments