Skip to content

Commit 135c147

Browse files
committed
feat(docs): add package name to version string
1 parent 4ba59c3 commit 135c147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions/docs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function formatItem(_item: any, _package: string, version: string, member?: stri
205205
parts.push(underline(bold(hyperlink(item.displayName, itemLink))));
206206

207207
const head = `<:${emojiName}:${emojiId}>`;
208-
const versionString = inlineCode(`@${version}`);
208+
const versionString = inlineCode(`${_package}@${version}`);
209209
const tail = sourceUrl ? ` ${hyperlink(versionString, sourceUrl, 'source code')}` : versionString;
210210
const middlePart = item.isDeprecated ? strikethrough(parts.join(' ')) : parts.join(' ');
211211

0 commit comments

Comments
 (0)