Skip to content

Odd documentation generation with upgrade to version 0.19.0 #360

@RicePatrick

Description

@RicePatrick

Terraform CLI and terraform-plugin-docs Versions

Terraform version: 1.4.0
Plugin docs version: v0.19.0

Provider Code

https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1888/diffs#9d055e3689fb5193976798648b837563c2baeeb0

Expected Behavior

  • Headers for nested data source schemas includes the name of the attribute
  • All description content is included in the front matter as expected

Actual Behavior

  • Headers for nested data source schemas seem to be removing the name of the attribute
  • One link seems to be removed from the "description" front matter of the generated files

Steps to Reproduce

  1. tfplugindocs generate

How much impact is this issue causing?

Low

Logs

No response

Additional Information

Is this potentially related to ab779d3 ? It seems like the attribute schemas were being properly generated in v0.18.0 though, I don't think an empty header is a great user experience here :)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions