Skip to content

Commit

Permalink
fix(tools): doc block links not clickable in VS Code (aws#12336)
Browse files Browse the repository at this point in the history
Before
<img src="https://user-images.githubusercontent.com/12623249/103578859-959d9600-4ed7-11eb-9879-7a6e86870bbd.png" width="500" />

After
<img src="https://user-images.githubusercontent.com/12623249/103578879-9f26fe00-4ed7-11eb-9a81-87a01c4a4115.png" width="500" />


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
jogold authored and TLadd committed Feb 9, 2021
1 parent 69db2e5 commit 8db9c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cfn2ts/lib/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ export default class CodeGenerator {
this.code.line('/**');
before.forEach(line => this.code.line(` * ${line}`.trimRight()));
if (link) {
this.code.line(` * @see ${link}`);
this.code.line(` * @link ${link}`);
}
this.code.line(' */');
return;
Expand Down

0 comments on commit 8db9c40

Please sign in to comment.