mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
feat(api-extractor): support multiple entrypoints (#10829)
* feat(api-extractor): support multiple entrypoints * chore: initial support in generateSplitDocumentation * chore: bring in line with upstream * refactor: multiple entrypoints in scripts * fix: split docs * feat: website * fix: docs failing on next * fix: don't include dtypes for now * refactor: don't fetch entrypoint if there is none --------- Co-authored-by: iCrawl <buechler.noel@outlook.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
'use cache';
|
||||
|
||||
import { VscSymbolParameter } from '@react-icons/all-files/vsc/VscSymbolParameter';
|
||||
import { ConstructorNode } from './ConstructorNode';
|
||||
import { DeprecatedNode } from './DeprecatedNode';
|
||||
@@ -26,8 +28,6 @@ async function OverloadNode({
|
||||
readonly packageName: string;
|
||||
readonly version: string;
|
||||
}) {
|
||||
'use cache';
|
||||
|
||||
return (
|
||||
<Tabs className="flex flex-col gap-4">
|
||||
<TabList className="flex flex-wrap gap-2">
|
||||
@@ -63,8 +63,6 @@ export async function DocItem({
|
||||
readonly packageName: string;
|
||||
readonly version: string;
|
||||
}) {
|
||||
'use cache';
|
||||
|
||||
if (node.overloads?.length) {
|
||||
return <OverloadNode node={node} packageName={packageName} version={version} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user