Skip to content

Commit 6a91f38

Browse files
committed
docs: fix original api link
1 parent 29fe6c5 commit 6a91f38

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/.vitepress/theme/components/FunctionInfo.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ const link = computed(() => withBase(`/functions\#category=${encodeURIComponent(
2727
Original API
2828
</div>
2929
<div>
30-
<span class="i-vscode-icons:file-type-vscode mb-.5 mr-1" />
31-
<a :href="`https://code.visualstudio.com/api/references/vscode-api#${props.name}`" target="_blank">
30+
<a class="api-link scope-vscode ml--1" :href="`https://code.visualstudio.com/api/references/vscode-api#${info.original}`" target="_blank">
3231
{{ info.original }}
3332
</a>
3433
</div>

0 commit comments

Comments
 (0)