HesterG 5c13cb18d2 Fix relrefs by following formats allowed by docusaurus (#18)
relrefs from upstream is in the format of `[text]({{< relref "doc/<path under doc>.md" >}})`, for example, `[instructions]({{< relref "doc/installation/from-source.en-us.md" >}})`. In this PR, use bash scripts to remove `{{< relref "doc/`,  `.en-us`/`.zh-cn` and `" >}}` parts so the link can be used by [docusaurus](https://docusaurus.io/docs/markdown-features/links)

Related: https://github.com/go-gitea/gitea/pull/24979, might need to backport this PR into 1.19
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/18
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: HesterG <hestergong@gmail.com>
Co-committed-by: HesterG <hestergong@gmail.com>
2023-05-29 16:24:40 +00:00
2023-05-24 17:57:42 +08:00
2023-02-02 23:30:20 -05:00
2023-05-26 14:30:13 +08:00
2023-02-02 23:30:20 -05:00
2023-05-26 14:30:13 +08:00
2023-05-26 14:30:13 +08:00
2023-03-04 00:51:12 -05:00
2023-03-04 00:51:12 -05:00
2023-05-26 14:30:13 +08:00
2023-05-26 14:30:13 +08:00
2023-03-25 01:54:21 -04:00

Gitea Docusaurus

How to build

make clean
make build

Development

make clean
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
Description
No description provided
Readme Apache-2.0 12 MiB
Languages
MDX 55.8%
JavaScript 26.8%
CSS 13.8%
Shell 2.4%
Makefile 1.2%