@@ -39,7 +39,7 @@ Stable binaries are also available on the [releases] page. To install, download
3939binary for your platform from "Assets" and place this into your ` $PATH ` :
4040
4141``` bash
42- curl -Lo ./terraform-docs.tar.gz https://github.com/terraform-docs/terraform-docs/releases/download/v0.19 .0/terraform-docs-v0.19 .0-$( uname) -amd64.tar.gz
42+ curl -Lo ./terraform-docs.tar.gz https://github.com/terraform-docs/terraform-docs/releases/download/v0.20 .0/terraform-docs-v0.20 .0-$( uname) -amd64.tar.gz
4343tar -xzf terraform-docs.tar.gz
4444chmod +x terraform-docs
4545mv terraform-docs /usr/local/bin/terraform-docs
@@ -51,12 +51,12 @@ The latest version can be installed using `go install` or `go get`:
5151
5252``` bash
5353# go1.17+
54- go install github.com/terraform-docs/terraform-docs@v0.19 .0
54+ go install github.com/terraform-docs/terraform-docs@v0.20 .0
5555```
5656
5757``` bash
5858# go1.16
59- GO111MODULE=" on" go get github.com/terraform-docs/terraform-docs@v0.19 .0
59+ GO111MODULE=" on" go get github.com/terraform-docs/terraform-docs@v0.20 .0
6060```
6161
6262** NOTE:** please use the latest Go to do this, minimum ` go1.16 ` is required.
@@ -88,14 +88,14 @@ terraform-docs can be run as a container by mounting a directory with `.tf`
8888files in it and run the following command:
8989
9090``` bash
91- docker run --rm --volume " $( pwd) :/terraform-docs" -u $( id -u) quay.io/terraform-docs/terraform-docs:0.19 .0 markdown /terraform-docs
91+ docker run --rm --volume " $( pwd) :/terraform-docs" -u $( id -u) quay.io/terraform-docs/terraform-docs:0.20 .0 markdown /terraform-docs
9292```
9393
9494If ` output.file ` is not enabled for this module, generated output can be redirected
9595back to a file:
9696
9797``` bash
98- docker run --rm --volume " $( pwd) :/terraform-docs" -u $( id -u) quay.io/terraform-docs/terraform-docs:0.19 .0 markdown /terraform-docs > doc.md
98+ docker run --rm --volume " $( pwd) :/terraform-docs" -u $( id -u) quay.io/terraform-docs/terraform-docs:0.20 .0 markdown /terraform-docs > doc.md
9999```
100100
101101** NOTE:** Docker tag ` latest ` refers to _ latest_ stable released version and ` edge `
@@ -142,7 +142,7 @@ in the root of your Git repo with at least the following content:
142142` ` ` yaml
143143repos:
144144 - repo: https://github.com/terraform-docs/terraform-docs
145- rev: "v0.19 .0"
145+ rev: "v0.20 .0"
146146 hooks:
147147 - id: terraform-docs-go
148148 args: ["markdown", "table", "--output-file", "README.md", "./mymodule/path"]
0 commit comments