-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hi, as it was said in this issue #32 sometimes the generator fails because there is structure in the .md of the resource in the terraform repository that do not fits the correct wat.
I have tested with the solution said changing the function calling as said in the issue but still failing, an example of .md that fails is https://github.com/Telmate/terraform-provider-proxmox/blob/master/docs/resources/cloud_init_disk.md where the error:
go generate linux_amd64
scraper: error: Failed to scrape Terraform provider metadata: cannot scrape Terraform registry: failed to scrape resource metadata from path: ../.work/Telmate/proxmox/docs/resources/cloud_init_disk.md: failed to find the prelude of the document using the xpath expressions: //text()[contains(., "description") and contains(., "page_title")]
exit status 1
I was wondering , is there an existant solution for this? Or the best option it's to PR the terraform repository wit the fix .md?
Thanks in advance for you continous improvements
Metadata
Metadata
Assignees
Labels
No labels