From 04c6a9ba5b5f9696946f420441a2b932a7fdd19c Mon Sep 17 00:00:00 2001 From: Qjuh <76154676+Qjuh@users.noreply.github.com> Date: Sat, 31 May 2025 11:29:36 +0200 Subject: [PATCH] docs: don't generate all sub-package docs for /next --- packages/next/api-extractor.json | 43 ++++++++++++++++---------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/packages/next/api-extractor.json b/packages/next/api-extractor.json index 563356100078..41c06d106d8c 100644 --- a/packages/next/api-extractor.json +++ b/packages/next/api-extractor.json @@ -2,25 +2,26 @@ "extends": "../../api-extractor.json", "docModel": { "projectFolderUrl": "https://github.com/discordjs/discord.js/tree/main/packages/next" - }, - "additionalEntryPoints": [ - { "modulePath": "discord-api-types", "filePath": "/dist-docs/exports/discord-api-types.d.ts" }, - { "modulePath": "builders", "filePath": "/dist-docs/exports/builders.d.ts" }, - { "modulePath": "collection", "filePath": "/dist-docs/exports/collection.d.ts" }, - { "modulePath": "core", "filePath": "/dist-docs/exports/core.d.ts" }, - { "modulePath": "formatters", "filePath": "/dist-docs/exports/formatters.d.ts" }, - { "modulePath": "rest", "filePath": "/dist-docs/exports/rest.d.ts" }, - { "modulePath": "util", "filePath": "/dist-docs/exports/util.d.ts" }, - { "modulePath": "ws", "filePath": "/dist-docs/exports/ws.d.ts" } - ], - "bundledPackages": [ - "discord-api-types", - "@discordjs/builders", - "@discordjs/collection", - "@discordjs/core", - "@discordjs/formatters", - "@discordjs/rest", - "@discordjs/util", - "@discordjs/ws" - ] + } + // We probably don't want to generate docs here for these and instead link to the other modules + // "additionalEntryPoints": [ + // { "modulePath": "discord-api-types", "filePath": "/dist-docs/exports/discord-api-types.d.ts" }, + // { "modulePath": "builders", "filePath": "/dist-docs/exports/builders.d.ts" }, + // { "modulePath": "collection", "filePath": "/dist-docs/exports/collection.d.ts" }, + // { "modulePath": "core", "filePath": "/dist-docs/exports/core.d.ts" }, + // { "modulePath": "formatters", "filePath": "/dist-docs/exports/formatters.d.ts" }, + // { "modulePath": "rest", "filePath": "/dist-docs/exports/rest.d.ts" }, + // { "modulePath": "util", "filePath": "/dist-docs/exports/util.d.ts" }, + // { "modulePath": "ws", "filePath": "/dist-docs/exports/ws.d.ts" } + // ], + // "bundledPackages": [ + // "discord-api-types", + // "@discordjs/builders", + // "@discordjs/collection", + // "@discordjs/core", + // "@discordjs/formatters", + // "@discordjs/rest", + // "@discordjs/util", + // "@discordjs/ws" + // ] }