docs

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(moduleDir string) (string, error)

Generate produces terraform-docs markdown table output for a module directory. It looks for .terraform-docs.yml in moduleDir itself.

func GenerateWithConfig

func GenerateWithConfig(moduleDir, configDir string) (string, error)

GenerateWithConfig produces terraform-docs markdown table output. moduleDir contains the .tf files to document. configDir is where to look for .terraform-docs.yml/.yaml configuration.

func InjectIntoReadme

func InjectIntoReadme(readme, docs string) string

InjectIntoReadme injects terraform-docs output into a README string. If the README contains BEGIN/END markers, content between them is replaced. Otherwise the docs are appended.

Types

This section is empty.

Jump to

Keyboard shortcuts

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