mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-25 05:36:00 +00:00
3745d3283eaa08d296029daa2080e63f224c1b42
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [redocusaurus](https://redocusaurus.vercel.app/) ([source](https://github.com/rohit-gohri/redocusaurus)) | dependencies | patch | [`2.0.1` -> `2.0.2`](https://renovatebot.com/diffs/npm/redocusaurus/2.0.1/2.0.2) | --- ### Release Notes <details> <summary>rohit-gohri/redocusaurus (redocusaurus)</summary> ### [`v2.0.2`](https://github.com/rohit-gohri/redocusaurus/blob/HEAD/CHANGELOG.md#redocusaurus202) [Compare Source](https://github.com/rohit-gohri/redocusaurus/compare/v2.0.1...v2.0.2) - [#​335](https://github.com/rohit-gohri/redocusaurus/pull/335) [`c5e534f`](c5e534f456) Thanks [@​rohit-gohri](https://github.com/rohit-gohri)! - Upgrade dependencies - Updated dependencies \[[`c5e534f`](c5e534f456)]: - docusaurus-plugin-redoc@2.0.2 - docusaurus-theme-redoc@2.0.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/114 Reviewed-by: silverwind <silverwind@noreply.gitea.com> Co-authored-by: Renovate Bot <renovate-bot@gitea.com> Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
Gitea Docusaurus
How to build
make clean
make prepare-docs
make build
Development
make clean
make prepare-docs
make serve
Test en version
npm run start
Test zh-cn version
npm run start -- --locale zh-cn
Translate presets for zh-cn version
npx docusaurus write-translations --locale zh-cn
Test both zh-cn and en versions
npm run build
npm run serve
Use CSR Api
This is for development, api pages will be CSR so this saves building time
npm run start-CSRApi
npm run build-CSRApi
Description
Languages
MDX
55.8%
JavaScript
26.8%
CSS
13.8%
Shell
2.4%
Makefile
1.2%