Closed jamesholland-uk closed 11 months ago
These lines have examples
hardcoded:
https://github.com/PaloAltoNetworks/automation-metadata-collector/blob/a7c88cc6819797ea70da6632cfbe99cb0740c316/process_modules_readmes.py#L355
https://github.com/PaloAltoNetworks/automation-metadata-collector/blob/a7c88cc6819797ea70da6632cfbe99cb0740c316/process_modules_readmes.py#L359
There needs to be conditional logic to choose the correct path element (examples
or modules
) based on module_type
, which will need to be an extra parameter to the insert_external_links
function called here
Describe the bug
Links to external reference sites (GitHub, Terraform Registry) do not work
Expected behavior
Links to external reference sites should work
Current behavior
Links to external reference sites do not work
Possible solution
Links have
examples
in the URL when they should havemodules
Steps to reproduce
Use GitHub and Terraform Registry links on https://pan.dev/terraform/docs/swfw/azure/vmseries/modules/panorama (and any other
module
)