mirror of
https://github.com/Awuqing/BackupX.git
synced 2026-08-29 03:57:39 +08:00
Bumps the docs-minor-and-patch group with 3 updates in the /docs-site directory: [react](https://github.com/react/react/tree/HEAD/packages/react), [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) and [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom). Updates `react` from 19.2.5 to 19.2.8 - [Release notes](https://github.com/react/react/releases) - [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react/commits/v19.2.8/packages/react) Updates `@types/react` from 19.2.14 to 19.2.18 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `react-dom` from 19.2.5 to 19.2.8 - [Release notes](https://github.com/react/react/releases) - [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react/commits/v19.2.8/packages/react-dom) Updates `@types/react` from 19.2.14 to 19.2.18 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: "@types/react" dependency-version: 19.2.18 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: docs-minor-and-patch - dependency-name: "@types/react" dependency-version: 19.2.18 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: docs-minor-and-patch - dependency-name: react dependency-version: 19.2.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docs-minor-and-patch - dependency-name: react-dom dependency-version: 19.2.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docs-minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
BackupX documentation site
The public documentation is a Docusaurus site with English source documents and a complete Simplified Chinese translation.
Local development
npm ci
npm start
Use npm start -- --locale zh-Hans to preview the Chinese site. The public Chinese URL remains /zh-Hans/; its source files live under i18n/zh-CN/ through the locale path mapping in docusaurus.config.ts.
Verification
npm run typecheck
npm run build
The production build renders both locales and fails on broken document links. GitHub Actions publishes build/ to GitHub Pages after changes reach main; do not deploy the site manually from a feature branch.
When adding, renaming, or removing a document:
- Apply the same change under
docs/andi18n/zh-CN/docusaurus-plugin-content-docs/current/. - Update
sidebars.tsand the translated sidebar labels when a category changes. - Use relative links for links between documents so both locale prefixes resolve correctly.
- Run the full verification commands before opening a pull request.