-
Notifications
You must be signed in to change notification settings - Fork 71
Rendered provider name not being picked up #173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
can you provide more details on this? we are using the latest version with this flag and it is working as expected. |
@jacobbednarz The value I pass in as --provider-name is being used in the place where --rendered-provider-name must be used. Can you please let me know what other information would help you? |
if you clone https://github.com/cloudflare/terraform-provider-cloudflare and run if you can provide a similar repro, I can take a look for you. |
Our repository is not public yet. However, when I tried it on Cloudflare Terraform provider with a different name, I see that the rendered provider name got updated in the resources docs but it didn't get updated on For example, I changed the rendered provider name to
And, here is the page for docs/index.md
|
It uses a custom template that doesn't use the variable - https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/templates/index.md.tmpl, so, yes. |
@jacobbednarz I see. I didn't create any templates directory and it is not being created when I run |
you don't have to have a templates directory unless you want to customise it (like using the rendered provider name instead of the default provider name). out of the box, the default index and resource template don't use it so it is a noop. see the default templates at |
@jacobbednarz Thank you very much. Closing the issue. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
The latest version of tfplugindocs doesn't use the
--rendered-provider-name
parameter while generating the documentation.The text was updated successfully, but these errors were encountered: