mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(website): link to enum members in search index (#10875)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -36,7 +36,6 @@ export function generatePath(items: readonly ApiItem[], version: string) {
|
||||
switch (item.kind) {
|
||||
case ApiItemKind.Model:
|
||||
case ApiItemKind.EntryPoint:
|
||||
case ApiItemKind.EnumMember:
|
||||
break;
|
||||
case ApiItemKind.Package:
|
||||
path += `/${item.displayName}`;
|
||||
@@ -55,6 +54,7 @@ export function generatePath(items: readonly ApiItem[], version: string) {
|
||||
case ApiItemKind.Property:
|
||||
case ApiItemKind.PropertySignature:
|
||||
case ApiItemKind.Event:
|
||||
case ApiItemKind.EnumMember:
|
||||
path += `#${item.displayName}`;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user