Skip to content

Commit

Permalink
Don't autorender tfdocs
Browse files Browse the repository at this point in the history
--output requires a newer version of terraform-docs on
conda-forge
(conda-forge/go-terraform-docs-feedstock#25).
  • Loading branch information
yuvipanda committed Jun 24, 2021
1 parent e7242a9 commit f8cf3f7
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,4 @@ def render_hubs():
df.to_csv(path_table, index=None)


def render_tfdocs():
tf_path = Path('../terraform')
# Output path is relative to terraform directory
output_path = Path('../docs/topic/terraform/reference.md')

# Template for output file is in ../terraform/.terraform-docs.yml
subprocess.check_call([
'terraform-docs', 'markdown',
f"--output-file={output_path}",
str(tf_path)
])



render_hubs()
render_tfdocs()
render_hubs()

0 comments on commit f8cf3f7

Please sign in to comment.