From bd4c7ce578956d9839309b16753bd5505b63b2e3 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Tue, 25 Jul 2023 23:53:13 -0500 Subject: Docusaurus-ify (#26051) This PR cleans up the docs in a way to make them simpler to ingest by our [docs repo](https://gitea.com/gitea/gitea-docusaurus). 1. It includes all of the sed invocations our ingestion did, removing the need to do it at build time. 2. It replaces the shortcode variable replacement method with `@variable@` style, simply for easier sed invocations when required. 3. It removes unused files and moves the docs up a level as cleanup. --------- Signed-off-by: jolheiser --- docs/README_ZH.md | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'docs/README_ZH.md') diff --git a/docs/README_ZH.md b/docs/README_ZH.md index 407f4cf155..7d9003a8ab 100644 --- a/docs/README_ZH.md +++ b/docs/README_ZH.md @@ -4,27 +4,7 @@ [![Join the chat at https://img.shields.io/discord/322538954119184384.svg](https://img.shields.io/discord/322538954119184384.svg)](https://discord.gg/Gitea) [![](https://images.microbadger.com/badges/image/gitea/docs.svg)](http://microbadger.com/images/gitea/docs "Get your own image badge on microbadger.com") -## 关于托管方式 - -本页面托管在我们 Docker 容器内的基础设施上, 它会在每次推送到 `master` 分支的时候自动更新,如果你想自己管理这个页面,你可以从我们的 Docker 镜像 [gitea/docs](https://hub.docker.com/r/gitea/docs/) 中获取它。 - -## 安装 Hugo - -本页面使用了 [Hugo](https://github.com/spf13/hugo) 静态页面生成工具,如果您有维护它的意愿,则需要在本地计算机上下载并安装 Hugo。Hugo 的安装教程不在本文档的讲述范围之内,详情请参见 [官方文档](https://gohugo.io/overview/installing/)。 - -## 如何部署 - -在 [localhost:1313](http://localhost:1313) 处构建和运行网站的命令如下,如果需要停止可以使用组合键 `Ctrl+C`: - -``` -make server -``` - -完成更改后,只需创建一个 Pull Request (PR),该 PR 一经合并网站将自动更新。 - -## 如何贡献您的代码 - -Fork -> Patch -> Push -> Pull Request +https://gitea.com/gitea/gitea-docusaurus ## 关于我们 -- cgit v1.2.3