chore: trim down the website

This commit is contained in:
Vlad Frangu
2024-11-26 23:20:21 +02:00
parent 079fcd6c00
commit c52a3f6721
2 changed files with 3 additions and 18 deletions

View File

@@ -194,8 +194,5 @@
"pascal-case"
]
}
},
"tsd": {
"directory": "tests"
}
}

View File

@@ -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'
}