diff --git a/README.md b/README.md index d5f4b0d6..dd14598f 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ If you're using vscode, this provider has delve debugging baked into the [.vscod ## Generating Docs -This provider uses the [terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs/) tool to generate documentation. Each resource and data source requires a [templates](https://github.com/hashicorp/terraform-provider-boundary/tree/main/templates) and [examples](https://github.com/hashicorp/terraform-provider-boundary/tree/main/examples) then you execute a binary generate the docs which are placed in [./docs](https://github.com/hashicorp/terraform-provider-boundary/tree/main/docs). +This provider uses the [terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs/) tool to generate documentation. Each resource and data source requires a set of examples [examples](https://github.com/hashicorp/terraform-provider-boundary/tree/main/examples) then you execute a binary to generate the docs which are placed in [./docs](https://github.com/hashicorp/terraform-provider-boundary/tree/main/docs). Optionally, you can specify your own [templates](https://github.com/hashicorp/terraform-provider-boundary/tree/main/templates) for a resource or data source if you want to add custom information (example: [data "boundary_scope"](https://github.com/hashicorp/terraform-provider-boundary/blob/main/templates/data-sources/scope.md.tmpl#L11)) ### New Resources & Data Sources (documentation templates) diff --git a/docs/data-sources/user.md b/docs/data-sources/user.md index 8dc5330a..5f365e5d 100644 --- a/docs/data-sources/user.md +++ b/docs/data-sources/user.md @@ -1,4 +1,5 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "boundary_user Data Source - terraform-provider-boundary" subcategory: "" description: |- diff --git a/templates/data-sources/user.md.tmpl b/templates/data-sources/user.md.tmpl deleted file mode 100644 index f37de4d1..00000000 --- a/templates/data-sources/user.md.tmpl +++ /dev/null @@ -1,16 +0,0 @@ ---- -page_title: "boundary_user Data Source - terraform-provider-boundary" -subcategory: "" -description: |- -{{ .Description | plainmarkdown | trimspace | prefixlines " " }} ---- - -# boundary_user (Data Source) - -{{ .Description | trimspace }} - -## Example Usage - -{{tffile "examples/data-sources/boundary_user/data-source.tf"}} - -{{ .SchemaMarkdown | trimspace }}