From 45a00112743c075d7869aee976d0c13cdf592994 Mon Sep 17 00:00:00 2001 From: Amit Shani Date: Mon, 9 May 2022 18:38:46 +0300 Subject: [PATCH] fix generated docs (#12) --- atlas/resource_atlas_schema.go | 2 +- docs/resources/schema.md | 6 ++++-- templates/resources/schema.md.tmpl | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/atlas/resource_atlas_schema.go b/atlas/resource_atlas_schema.go index 0015bcd..cdc4b38 100644 --- a/atlas/resource_atlas_schema.go +++ b/atlas/resource_atlas_schema.go @@ -13,7 +13,7 @@ import ( func newSchemaResource() *schema.Resource { return &schema.Resource{ - Description: "Atlas database resource manages the data schema of the database, using an HCL file describing the wanted state of the database.", + Description: "Atlas database resource manages the data schema of the database, using an HCL file describing the wanted state of the database. see https://atlasgo.io/", // Create&Update both apply migrations CreateContext: applySchema, UpdateContext: applySchema, diff --git a/docs/resources/schema.md b/docs/resources/schema.md index 08fea52..f0a35ef 100644 --- a/docs/resources/schema.md +++ b/docs/resources/schema.md @@ -1,13 +1,15 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "atlas_schema Resource - terraform-provider-atlas" subcategory: "" description: |- - Atlas database resource manages the data schema of the database, using an HCL file describing the wanted state of the database. + Atlas database resource manages the data schema of the database, using an HCL file describing the wanted state of the database. see https://atlasgo.io/ --- # Resource (atlas_schema) -Atlas database resource manages the data schema of the database, using an HCL file describing the wanted state of the database. +Atlas database resource manages the data schema of the database, using an HCL file describing the wanted state of the database. see https://atlasgo.io/ ## Example Usage diff --git a/templates/resources/schema.md.tmpl b/templates/resources/schema.md.tmpl index 96e11fa..9e1a06f 100644 --- a/templates/resources/schema.md.tmpl +++ b/templates/resources/schema.md.tmpl @@ -1,3 +1,5 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "{{.Name}} {{.Type}} - {{.ProviderName}}" subcategory: "" description: |-