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
parent 4b75b11339
commit 70bcd16e8d
17 changed files with 768 additions and 640 deletions

View File

@@ -38,6 +38,13 @@ jobs:
run: yarn build:doc
- run: yarn install --immutable
working-directory: ./website
- name: Restore bundler cache
uses: actions/cache@v4
with:
key: ${{ runner.os }}-docusaurus-bundler-${{ github.sha }}
path: ./website/node_modules/.cache
restore-keys: |
${{ runner.os }}-docusaurus-bundler-
- name: Build website
run: yarn build
working-directory: ./website