mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
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:
@@ -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'),
|
||||
)
|
||||
Reference in New Issue
Block a user