https://pulumi.com logo
#docs
Title
# docs
c

cool-egg-852

07/29/2019, 3:14 PM
Another thing that would be beneficial is adding more of the docs into the typescript types. Having to look up the docs online when I could see them in place isn’t as efficient
👍🏽 1
w

white-balloon-205

07/29/2019, 4:04 PM
Curious - Which docs do you see on the site but not in the TypeScript types?
c

cool-egg-852

07/29/2019, 4:43 PM
Example Usage for https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/gcp/compute/#Instance, all of the docs on the different methods there.
They aren’t in instance.d.ts for example, so I can’t see the info
Basically if I
Go to Declaration
inside of WebStorm, I should be able to see all of the info, not just
w

white-balloon-205

07/29/2019, 4:46 PM
The "Example Usage" is part of the docs on the class. You should be able to scroll up to see if in Goto Definition. The lack of docs on nested substructure in properties is a bigger issue, and those docs are not present in the docs site either. See https://github.com/pulumi/pulumi-terraform/issues/317.
c

cool-egg-852

07/29/2019, 4:47 PM
Thanks for the info on the first thing. I do see it now
I’m subscribing to that issue now. Hope to see that soon. Definitely a huge issue IMO.
2 Views