This website is built using Docusaurus 2, a modern static website generator.
# Install
yarn install
# Development
npm run start -- --host 0.0.0.0 --port 3002
npm run start -- --host 0.0.0.0 --port 3002 --locale en
# Build
yarn build
npm run serve -- --host 0.0.0.0 --port 3002
# Create i18n language
yarn run write-translations -- --locale zh-cn
# Upgrade Docusaurus
yarn upgrade @docusaurus/core@latest @docusaurus/preset-classic@latest
- Install typesense and configure it
- Install docusaurus-theme-search-typesense plugin and configure it