document-lint

command
v0.0.0-...-0e4e14f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2025 License: MPL-2.0 Imports: 5 Imported by: 0

README

Introduction

This tool detects and fixes inconsistencies in the AzureRM Terraform Provider resource documentation.

The following can be checked/fixed:

  1. Formatting of documentation.
  2. The Required/Optional value of properties.
  3. The Default value of properties.
  4. The ForceNew value of properties.
  5. The TimeOut value of create/update/read/delete functions.
  6. Properties that are present in the schema but missing in the documentation and vice versa.
  7. The list of PossibleValues.

Getting Started

# print the usage
go run main.go -h

# check documents and print the error information
go run main.go check

# check and try to fix existing errors
go run main.go fix

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL