Skip to content
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

Module redirect link in markdown #764

Open
stanipetrosyan opened this issue Apr 5, 2024 · 0 comments
Open

Module redirect link in markdown #764

stanipetrosyan opened this issue Apr 5, 2024 · 0 comments

Comments

@stanipetrosyan
Copy link

What problem are you facing?

Actually I have a terraform directory with main code and another directory that contains modules like this:

.
├── terraform
│   ├── DOCS.md
│   ├── main.tf
│   ├── output.tf
│   ├── provider.tf
│   └── variables.tf
├── modules
│   ├── moduleA
│   │   ├── DOCS.md
│   │   ├── main.tf
│   │   └── variables.tf
│   ├── moduleB
│   │   ├── DOCS.md
│   │   ├── main.tf
│   │   └── variables.tf

with the generated readme using terraform-docs with markdown:

## Modules
| Name | Source | Version |
|------|--------|---------|
| <a name="module_moduleA"></a> [moduleA](#module\_moduleA) | ../modules/moduleA | n/a |
| <a name="module_moduleB"></a> [moduleB](#module\_moduleB) | ../modules/moduleB | n/a |

But if I click on a module link nothing is happening.

How could terraform-docs help solve your problem?

It would be great if the link could open the readme generated of the module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant