diff options
author | Xinyu Zhou <i@sourcehut.net> | 2022-11-01 07:16:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 23:16:19 +0000 |
commit | 563945c50cec4d3bb839a783b8d4604271fdbf09 (patch) | |
tree | 35ef449eb85fadbc84ed7dada246e45707f8a299 /docs/static | |
parent | 8f85a49947ae8546ecac76e0fdfd1c76e62784e6 (diff) | |
download | gitea-563945c50cec4d3bb839a783b8d4604271fdbf09.tar.gz gitea-563945c50cec4d3bb839a783b8d4604271fdbf09.zip |
Refactor docs (#21627)
This patch:
- Rename some files( `.md` to `.en-us.md`), fix missed translation copy
- Update link which shoud be refer to `../hacking-on-gitea/` instead of
`../make/` (outdated)
- Update `_redirects`:
- redirect `/{zh-cn|fr-fr}/make/` to `../hacking-on-gitea/`
- redirect `/zh-cn/third-party-tools/` to `/zh-cn/integrations/`
- Delete duplicated/outdated files.
- Update menu `weight` of developers.zh-cn.md
Signed-off-by: Xinyu Zhou <i@sourcehut.net>
Diffstat (limited to 'docs/static')
-rw-r--r-- | docs/static/_redirects | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/static/_redirects b/docs/static/_redirects index 676181b61f..39bd09f9ba 100644 --- a/docs/static/_redirects +++ b/docs/static/_redirects @@ -9,7 +9,10 @@ https://gitea-docs.netlify.com/* https://docs.gitea.io/:splat 302! /en-us/ci-cd/ /en-us/integrations/ 302! /en-us/third-party-tools/ /en-us/integrations/ 302! +/zh-cn/third-party-tools/ /zh-cn/integrations/ 302! /en-us/make/ /en-us/hacking-on-gitea/ 302! +/zh-cn/make/ /zh-cn/hacking-on-gitea/ 302! +/fr-fr/make/ /fr-fr/hacking-on-gitea/ 302! /en-us/upgrade/ /en-us/upgrade-from-gitea/ 302! /fr-fr/upgrade/ /fr-fr/upgrade-from-gitea/ 302! /zh-cn/upgrade/ /zh-cn/upgrade-from-gitea/ 302! |