File tree Expand file tree Collapse file tree 4 files changed +6
-1
lines changed
convert-index-file-edit-rules Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,9 @@ func writeFrontMatter(providerName string) string {
8282 // Capitalize the package name
8383 capitalize := cases .Title (language .English )
8484 title := capitalize .String (providerName )
85-
8685 return fmt .Sprintf (delimiter +
86+ "# *** WARNING: This file was auto-generated. " +
87+ "Do not edit by hand unless you're certain you know what you are doing! ***\n " +
8788 "title: %[1]s Provider\n " +
8889 "meta_desc: Provides an overview on how to configure the Pulumi %[1]s provider.\n " +
8990 "layout: package\n " +
Original file line number Diff line number Diff line change @@ -272,6 +272,8 @@ func TestWriteFrontMatter(t *testing.T) {
272272 name : "Generates Front Matter for installation-configuration.md" ,
273273 providerName : "test" ,
274274 expected : delimiter +
275+ "# *** WARNING: This file was auto-generated. " +
276+ "Do not edit by hand unless you're certain you know what you are doing! ***\n " +
275277 "title: Test Provider\n " +
276278 "meta_desc: Provides an overview on how to configure the Pulumi Test provider.\n " +
277279 "layout: package\n " +
Original file line number Diff line number Diff line change 11---
2+ # *** WARNING: This file was auto-generated. Do not edit by hand unless you're certain you know what you are doing! ***
23title : Libvirt Provider
34meta_desc : Provides an overview on how to configure the Pulumi Libvirt provider.
45layout : package
Original file line number Diff line number Diff line change 11---
2+ # *** WARNING: This file was auto-generated. Do not edit by hand unless you're certain you know what you are doing! ***
23title : Libvirt Provider
34meta_desc : Provides an overview on how to configure the Pulumi Libvirt provider.
45layout : package
You can’t perform that action at this time.
0 commit comments