chore(website): Update docusarus v3.8, improve build perf (#4209)

* Update docusaurus to v3.8, improve performance

Docusaurus:
- Update to v3.8.0
- Enable new faster features, rspack bundler cache and worker threads
- Update CI to cache rspack bundler cache
- Update dependencies to latest versions
- Update blog posts to use the truncate tag
- Update caniuse-lite

Removed duplicated type documentation generation for bot package

* Use .jsonc files for typedoc
And use the readme option instead of a custom script

* remvoe typedoc script

---------

Co-authored-by: Jonathan Ho <heiheiho000@gmail.com>
This commit is contained in:
Fleny
2025-06-02 07:47:19 +02:00
committed by GitHub
co-authored by Jonathan Ho
parent 4b75b11339
commit 70bcd16e8d
17 changed files with 768 additions and 640 deletions
-18
View File
@@ -1,18 +0,0 @@
import { writeFile } from 'node:fs/promises'
import typedocConfig from '../typedoc.json' with { type: 'json' }
const typedocOutPath = typedocConfig.out
await writeFile(
`${typedocOutPath}/README.md`,
[
'[**Documentation**](README.md) • **Docs**',
'',
'***',
'',
'# Discordeno',
'',
'Thank you for using Discordeno. These docs are generated automatically. If you see any issues please contact us on [Discord](https://discord.gg/ddeno)',
'',
].join('\n'),
)