Skip to content

Commit

Permalink
VSChina#269 - Fixed modules docs URL
Browse files Browse the repository at this point in the history
VSChina#269 - Fixed modules docs URL
  • Loading branch information
goniomdq authored Oct 5, 2020
1 parent 43e249c commit bfb4d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/completionData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function parseAnsibleCompletionFile(sourcefile: string): Promise<AnsibleC
modules = data.modules.map((module) => {
let item = new AnsibleCompletionItem(module.module, CompletionItemKind.Function);
item.detail = 'module: \n' + `${module.short_description || ''}`;
item.documentation = `http://docs.ansible.com/ansible/${module.module}_module.html`;
item.documentation = `http://docs.ansible.com/ansible/modules/${module.module}_module.html`;

if (module.deprecated) {
item.detail = `(Deprecated) ${item.detail}`;
Expand Down

0 comments on commit bfb4d40

Please sign in to comment.