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

Link to (remote) module docs from module source #673

Closed
4 of 5 tasks
radeksimko opened this issue Jun 18, 2021 · 4 comments · Fixed by #1140
Closed
4 of 5 tasks

Link to (remote) module docs from module source #673

radeksimko opened this issue Jun 18, 2021 · 4 comments · Fixed by #1140
Assignees
Labels
enhancement New feature or request modules Functionality related to the module block and modules generally terraform-ls Features/bugs which will be implemented/fixed purely on the LS side
Milestone

Comments

@radeksimko
Copy link
Member

radeksimko commented Jun 18, 2021

Problem Statement

The Terraform Registry automatically generates documentation for module authors from Readme.md and variables and outputs.

It would be helpful for users to be able to easily get to the overview/documentation of a module from the source code.

Expected User Experience

module "consul" {
  source = "hashicorp/consul/aws"
  version = "0.1.0"
}

User is taken to the docs at https://registry.terraform.io/modules/hashicorp/consul/aws/0.1.0 upon ctrl/cmd+click.

The UI is similar to the one we use for provider docs currently:
Screenshot 2021-06-18 at 17 06 57

Proposal / TODO

@radeksimko radeksimko added enhancement New feature or request terraform-ls Features/bugs which will be implemented/fixed purely on the LS side labels Jun 18, 2021
@radeksimko radeksimko changed the title Link to module docs on Terraform Registry Link to module docs from module source Jun 18, 2021
@radeksimko radeksimko changed the title Link to module docs from module source Link to (remote) module docs from module source Jun 21, 2021
@vide
Copy link

vide commented Jul 16, 2021

It might be unrelated but with the older, unofficial Terraform VSCode extension you could ctrl+click a resource name and get the help page for that resource on terraform.io/docs automatically. I'm not able anymore to achieve that, is it a missing feature or am I doing something wrong?

@radeksimko
Copy link
Member Author

This is being tracked under hashicorp/terraform-ls#190 - we don't have a corresponding issue in this repo (yet) but all of the work will be done on the language server anyway.

Feel free to subscribe to that issue.

@dbanck
Copy link
Member

dbanck commented Apr 26, 2022

Resolved via hashicorp/terraform-ls#874 and will be included in the 0.28.0 language server release.

@github-actions
Copy link

github-actions bot commented Jul 9, 2022

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request modules Functionality related to the module block and modules generally terraform-ls Features/bugs which will be implemented/fixed purely on the LS side
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants