-
Notifications
You must be signed in to change notification settings - Fork 230
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
[Member] links don't render #1528
Comments
Yeah, basically this was a way to just call things out as being 'code related'. Happy to actually switch everything to an appropriate hyperlinking form once someone can tell me what that form should be that is reasonable stable :) |
We should investigate whether using JSDoc |
There's no rhyme or reason on |
Yep, I'll take a look and report back. |
Editor support for |
So, looking into this a bit... it seems that we've update the notation from when this was filed. However, this issue still persists somewhat. For example here: https://github.com/pulumi/pulumi/blob/24e72c9b515639d4ad9bd596164f376553085555/sdk/nodejs/output.ts#L1003
renders as "call Output.apply" in plaintext, w/ no link to the That's because TypeDoc doesn't generate docs for methods on type aliases like However, this kind of issue seems unresolvable with the way that we've structured the classes and the way that types are resolved in TypeDoc. I've dug around in their issues and a number of people have similar problems and they basically closed them all as That said, we have a little control here in a hacky way. We could write these links like this: Regardless, it's been 5.25 years since this issue was filed, and there's no obvious/easy way to resolve it any time soon, so I'm going to close it as |
We seem to use
[Type]
and[Method(func)]
annotations in some of our API documentation, presumably hoping that these will get rendered as hyperlinks. For example, see Output:I assume the
[Output.apply(func)]
,[Resource]
,[.apply]
, and various[Output]
s, are intended to be hyperlinked to the relevant members?This pattern is prevalent in the Pulumi SDK itself in addition to addition to packages like AWSX (Crosswalk). I believe @CyrusNajmabadi has written most of them, so we should ask whether this is a convention that should be being respected, or maybe the API docs themselves are simply wrong and should use a different syntax.
The text was updated successfully, but these errors were encountered: