tfproviderdocs icon indicating copy to clipboard operation
tfproviderdocs copied to clipboard

check: Verify code block types

Open bflad opened this issue 5 years ago • 1 comments

Reference: https://github.com/terraform-providers/terraform-provider-aws/pull/11302

This likely will require usage of a Markdown AST library.

Example usage blocks should use:

```terraform
# ... Terraform configuration ...
```

Import blocks should use:

```console
$ terraform import ...
```

bflad avatar Dec 16 '19 20:12 bflad

Experimental support for this has been added via new -enable-contents-check flag in version 0.8.0 of tfproviderdocs.

bflad avatar Oct 26 '20 20:10 bflad

This project will be archived in preference of the revamped validate command in github.com/hashicorp/terraform-plugin-docs implementing much of the basic validation logic from this project. Feature requests should be submitted over there at this point.

bflad avatar May 19 '24 19:05 bflad