Skip to content

Commit

Permalink
Schema header translates to Configuration Reference (#2350)
Browse files Browse the repository at this point in the history
When transforming installation docs, the "Schema" header should
transform the same way as "Argument Regerence". This PR adds that
behavior.
  • Loading branch information
guineveresaenger authored Aug 26, 2024
1 parent ca92614 commit 97ed5f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/tfgen/installation_docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ func applyEditRules(contentBytes []byte, docFile string, g *Generator) ([]byte,
`The following configuration inputs are supported`),
reReplace(`Argument Reference`,
`Configuration Reference`),
reReplace(`Schema`,
`Configuration Reference`),
reReplace("### Optional\n", ""),
reReplace(`block contains the following arguments`,
`input has the following nested fields`),
)
Expand Down

0 comments on commit 97ed5f6

Please sign in to comment.