File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1+ ## 0.4.2
2+
3+ * Switch master channel to main.
4+
15## 0.4.1
26
37* Update dependencies.
Original file line number Diff line number Diff line change @@ -97,11 +97,11 @@ class SnippetGenerator {
9797 ? '<div class="snippet-description">{@end-inject-html}${sample .description .trim ()}{@inject-html}</div>'
9898 : '' ;
9999
100- // DartPad only supports stable or master as valid channels. Use master
100+ // DartPad only supports stable or main as valid channels. Use main
101101 // if not on stable so that local runs will work (although they will
102102 // still take their sample code from the master docs server).
103103 final String channel =
104- sample.metadata['channel' ] == 'stable' ? 'stable' : 'master ' ;
104+ sample.metadata['channel' ] == 'stable' ? 'stable' : 'main ' ;
105105
106106 final Map <String , String > substitutions = < String , String > {
107107 'description' : description,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: snippets
22description : A package for parsing and manipulating code samples in Flutter repo dartdoc comments.
33repository : https://github.com/flutter/assets-for-api-docs/tree/main/packages/snippets
44issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+snippets%22
5- version : 0.4.1
5+ version : 0.4.2
66
77environment :
88 sdk : " >=3.0.0 <4.0.0"
You can’t perform that action at this time.
0 commit comments