Skip to content

Commit 418ef89

Browse files
authored
Exclude secondary Markdown output files from sitemap (#7018)
Fixes #7017
1 parent c347c60 commit 418ef89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tool/dash_site/lib/src/commands/build.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ final class BuildSiteCommand extends Command<int> {
4141
// those specified by jaspr_cli.
4242
'--no-managed-build-options',
4343
'--sitemap-domain=https://dart.dev',
44+
// Exclude secondary Markdown output files from sitemap.
45+
r'--sitemap-exclude=\.html\.md$',
4446
'--dart-define=PRODUCTION=$productionRelease',
4547
],
4648
workingDirectory: 'site',

0 commit comments

Comments
 (0)