mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-06-02 08:50:09 +00:00
chore: trim down the website
This commit is contained in:
@@ -194,8 +194,5 @@
|
||||
"pascal-case"
|
||||
]
|
||||
}
|
||||
},
|
||||
"tsd": {
|
||||
"directory": "tests"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
||||
|
||||
const { join } = require('path');
|
||||
const { join } = require('node:path');
|
||||
const { npm2yarn2pnpm } = require('@sapphire/docusaurus-plugin-npm2yarn2pnpm');
|
||||
const { ts2esm2cjs } = require('@sapphire/docusaurus-plugin-ts2esm2cjs');
|
||||
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
||||
@@ -62,22 +62,10 @@ const config = {
|
||||
{
|
||||
path: './',
|
||||
entry: {
|
||||
globals: { path: 'globals.ts', label: 'Global Types' },
|
||||
'gateway/common': { path: 'gateway/common.ts', label: 'Gateway - Common Types' },
|
||||
'payloads/common': { path: 'payloads/common.ts', label: 'Payloads - Common Types' },
|
||||
'rest/common': { path: 'rest/common.ts', label: 'REST - Common Types' },
|
||||
'rpc/common': { path: 'rpc/common.ts', label: 'RPC - Common Types' },
|
||||
v6: { path: 'v6.ts', label: 'API v6 - Deprecated' },
|
||||
v8: { path: 'v8.ts', label: 'API v8 - Deprecated' },
|
||||
v9: { path: 'v9.ts', label: 'API v9' },
|
||||
v10: { path: 'v10.ts', label: 'API v10' },
|
||||
'rpc/v8': { path: 'rpc/v8.ts', label: 'RPC v8' },
|
||||
'rpc/v9': { path: 'rpc/v9.ts', label: 'RPC v9' },
|
||||
'rpc/v10': { path: 'rpc/v10.ts', label: 'RPC v10' },
|
||||
v9: { path: 'v9.ts', label: 'API v9' },
|
||||
'voice/v4': { path: 'voice/v4.ts', label: 'Voice v4' },
|
||||
'utils/v8': { path: 'utils/v8.ts', label: 'Utils v8' },
|
||||
'utils/v9': { path: 'utils/v9.ts', label: 'Utils v9' },
|
||||
'utils/v10': { path: 'utils/v10.ts', label: 'Utils v10' }
|
||||
globals: { path: 'globals.ts', label: 'Global Types' },
|
||||
},
|
||||
slug: 'discord-api-types'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user