Skip to content

Commit c52a3f6

Browse files
committed
chore: trim down the website
1 parent 079fcd6 commit c52a3f6

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,5 @@
194194
"pascal-case"
195195
]
196196
}
197-
},
198-
"tsd": {
199-
"directory": "tests"
200197
}
201198
}

website/docusaurus.config.js

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
22

3-
const { join } = require('path');
3+
const { join } = require('node:path');
44
const { npm2yarn2pnpm } = require('@sapphire/docusaurus-plugin-npm2yarn2pnpm');
55
const { ts2esm2cjs } = require('@sapphire/docusaurus-plugin-ts2esm2cjs');
66
const lightCodeTheme = require('prism-react-renderer/themes/github');
@@ -62,22 +62,10 @@ const config = {
6262
{
6363
path: './',
6464
entry: {
65-
globals: { path: 'globals.ts', label: 'Global Types' },
66-
'gateway/common': { path: 'gateway/common.ts', label: 'Gateway - Common Types' },
67-
'payloads/common': { path: 'payloads/common.ts', label: 'Payloads - Common Types' },
68-
'rest/common': { path: 'rest/common.ts', label: 'REST - Common Types' },
69-
'rpc/common': { path: 'rpc/common.ts', label: 'RPC - Common Types' },
70-
v6: { path: 'v6.ts', label: 'API v6 - Deprecated' },
71-
v8: { path: 'v8.ts', label: 'API v8 - Deprecated' },
72-
v9: { path: 'v9.ts', label: 'API v9' },
7365
v10: { path: 'v10.ts', label: 'API v10' },
74-
'rpc/v8': { path: 'rpc/v8.ts', label: 'RPC v8' },
75-
'rpc/v9': { path: 'rpc/v9.ts', label: 'RPC v9' },
76-
'rpc/v10': { path: 'rpc/v10.ts', label: 'RPC v10' },
66+
v9: { path: 'v9.ts', label: 'API v9' },
7767
'voice/v4': { path: 'voice/v4.ts', label: 'Voice v4' },
78-
'utils/v8': { path: 'utils/v8.ts', label: 'Utils v8' },
79-
'utils/v9': { path: 'utils/v9.ts', label: 'Utils v9' },
80-
'utils/v10': { path: 'utils/v10.ts', label: 'Utils v10' }
68+
globals: { path: 'globals.ts', label: 'Global Types' },
8169
},
8270
slug: 'discord-api-types'
8371
}

0 commit comments

Comments
 (0)