diff --git a/content/doc/advanced/config-cheat-sheet.en-us.md b/content/doc/advanced/config-cheat-sheet.en-us.md index c0e7781..5f39fe6 100644 --- a/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/content/doc/advanced/config-cheat-sheet.en-us.md @@ -64,6 +64,7 @@ Any configuration option that is marked by :exclamation: means that you should k - `HTTP_PORT`: HTTP listen port. - `DISABLE_SSH`: Disables SSH feature when it's not available. - `START_SSH_SERVER`: Starts built-in SSH server when enabled. +- `SSH_DOMAIN`: Domain name of your ssh server. - `SSH_PORT`: SSH port displayed in clone URL, in case yours is not `22`. - `SSH_LISTEN_PORT`: Port for the built-in SSH server, required if enabled. - `OFFLINE_MODE`: Disables use of CDN for static files and Gravatar for profile pictures. diff --git a/content/doc/advanced/customizing-gitea.en-us.md b/content/doc/advanced/customizing-gitea.en-us.md new file mode 100644 index 0000000..d4c7ac8 --- /dev/null +++ b/content/doc/advanced/customizing-gitea.en-us.md @@ -0,0 +1,22 @@ +--- +date: "2017-01-20T16:00:00+02:00" +title: "Customizing Gitea" +slug: "customizing-gitea" +weight: 9 +toc: false +draft: false +menu: + sidebar: + parent: "advanced" + name: "Customizing Gitea" + weight: 9 + identifier: "customizing-gitea" +--- + +# Customizing Gitea + +The main way to customize Gitea is by using the `custom` folder. This is the central place to override and configure features. + +## Customizing /robots.txt + +To make Gitea serve your own `/robots.txt` (by default, an empty 404 status is served), simply create a file called `robots.txt` in the `custom` folder with the [expected contents](http://www.robotstxt.org/). **Note** that you have to restart Gitea for it to notice the new `robots.txt`. diff --git a/content/doc/help.zh-cn.md b/content/doc/help.zh-cn.md new file mode 100644 index 0000000..6af7aa1 --- /dev/null +++ b/content/doc/help.zh-cn.md @@ -0,0 +1,13 @@ +--- +date: "2017-01-20T15:00:00+08:00" +title: "帮助" +slug: "help" +weight: 50 +toc: false +draft: false +menu: + sidebar: + name: "帮助" + weight: 50 + identifier: "help" +--- diff --git a/content/doc/help/seek-help.zh-cn.md b/content/doc/help/seek-help.zh-cn.md new file mode 100644 index 0000000..a2a2747 --- /dev/null +++ b/content/doc/help/seek-help.zh-cn.md @@ -0,0 +1,23 @@ +--- +date: "2017-01-20T15:00:00+08:00" +title: "需要帮助" +slug: "seek-help" +weight: 10 +toc: true +draft: false +menu: + sidebar: + parent: "help" + name: "需要帮助" + weight: 20 + identifier: "seek-help" +--- + +## 需要帮助? + +如果您在使用或者开发过程中遇到问题,请到以下渠道咨询: + +- 到[Github issue](https://github.com/go-gitea/gitea/issues)提问(因为项目维护人员来自世界各地,为保证沟通顺畅,请使用英文提问) +- 中文问题到[gocn.io](https://gocn.io/topic/Gitea)提问 +- 访问 [Gitter channel - 英文](https://gitter.im/go-gitea/gitea/) +- 加入 QQ群 328432459 获得进一步的支持 diff --git a/content/doc/installation/from-binary.en-us.md b/content/doc/installation/from-binary.en-us.md index ec10b8c..c07e1d4 100644 --- a/content/doc/installation/from-binary.en-us.md +++ b/content/doc/installation/from-binary.en-us.md @@ -30,6 +30,10 @@ After following the steps above you will have a `gitea` binary within your worki ./gitea web ``` +## Troubleshooting + +Older Linux distributions (such as Debian 7 and CentOS 6) may not be able to load the Gitea binary, usually resulting an error like ```./gitea: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./gitea)```. This is due to the integrated SQLite support in the binaries we provide. In the future, we will provide binaries without the requirement for glibc. As a workaround, you can upgrade your distribution or [install from source]({{< relref "from-source.en-us.md" >}}). + ## Anything missing? Are we missing anything on this page? Then feel free to reach out to us on our [Gitter channel](https://gitter.im/go-gitea/gitea/), there you will get answers to any question pretty fast. diff --git a/content/doc/installation/from-binary.zh-cn.md b/content/doc/installation/from-binary.zh-cn.md index c73f86a..c8ceb7c 100644 --- a/content/doc/installation/from-binary.zh-cn.md +++ b/content/doc/installation/from-binary.zh-cn.md @@ -32,4 +32,4 @@ chmod +x gitea ## 需要帮助? -如果从本页中没有找到你需要的内容,请访问 [Gitter channel - 英文](https://gitter.im/go-gitea/gitea/) 或加入 QQ群 328432459 获得进一步的支持。 \ No newline at end of file +如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}}) diff --git a/content/doc/installation/from-package.zh-cn.md b/content/doc/installation/from-package.zh-cn.md index 65470c9..c56a54f 100644 --- a/content/doc/installation/from-package.zh-cn.md +++ b/content/doc/installation/from-package.zh-cn.md @@ -34,4 +34,4 @@ brew install gitea ## 需要帮助? -如果从本页中没有找到你需要的内容,请访问 [Gitter channel - 英文](https://gitter.im/go-gitea/gitea/) 或加入 QQ群 328432459 获得进一步的支持。 +如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}}) diff --git a/content/doc/installation/from-source.zh-cn.md b/content/doc/installation/from-source.zh-cn.md index f2c4d9d..035aba4 100644 --- a/content/doc/installation/from-source.zh-cn.md +++ b/content/doc/installation/from-source.zh-cn.md @@ -79,4 +79,4 @@ go build ## 需要帮助? -如果从本页中没有找到你需要的内容,请访问 [Gitter channel - 英文](https://gitter.im/go-gitea/gitea/) 或加入 QQ群 328432459 获得进一步的支持。 +如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}}) diff --git a/content/doc/installation/with-docker.zh-cn.md b/content/doc/installation/with-docker.zh-cn.md index 02e9e66..983a0d1 100644 --- a/content/doc/installation/with-docker.zh-cn.md +++ b/content/doc/installation/with-docker.zh-cn.md @@ -39,4 +39,4 @@ docker run -d --name=gitea -p 10022:22 -p 10080:3000 -v /var/lib/gitea:/data git ## 需要帮助? -如果从本页中没有找到你需要的内容,请访问 [Gitter channel - 英文](https://gitter.im/go-gitea/gitea/) 或加入 QQ群 328432459 获得进一步的支持。 \ No newline at end of file +如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}}) diff --git a/content/page/index.zh-cn.md b/content/page/index.zh-cn.md index 104a54d..369f448 100644 --- a/content/page/index.zh-cn.md +++ b/content/page/index.zh-cn.md @@ -67,4 +67,8 @@ Gitea的首要目标是创建一个极易安装,运行非常快速,安装和 ## 软件及服务支持 -- [Drone](https://github.com/drone/drone) (CI) \ No newline at end of file +- [Drone](https://github.com/drone/drone) (CI) + +## 需要帮助? + +如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}}) diff --git a/content/page/index.zh-tw.md b/content/page/index.zh-tw.md index ea4158f..bbae83d 100644 --- a/content/page/index.zh-tw.md +++ b/content/page/index.zh-tw.md @@ -9,11 +9,11 @@ draft: false # 關於 Gitea -Gitea 是一個可自行託管的 Git 服務。你可以拿 GitHub, Bitbucket 或 Gitlab 來比較看看。初期是從 [Gogs](http://gogs.io) 發展而來,不過我們已經 Fork 並且命名為 Gitea。如果您想更深入了解 Fork 原因,請直接參考[這裡](https://blog.gitea.io/2016/12/welcome-to-gitea/)。 +Gitea 是一個可自行託管的 Git 服務。你可以拿 GitHub、Bitbucket 或 Gitlab 來比較看看。初期是從 [Gogs](http://gogs.io) 發展而來,不過我們已經 Fork 並且命名為 Gitea。如果您想更深入了解 Fork 原因,請直接參考[這裡](https://blog.gitea.io/2016/12/welcome-to-gitea/)。 ## 目標 -Gitea 的首要目標是建立一個容易安裝,運行快速,安装和使用體驗良好的自建 Git 服務。我們採用 GO 為後端語言,Go 可以產生各平台使用的執行檔。除了支援 Linux, macOS 和 Windows 外,甚至還包含 ARM 和 PowerPC。 +Gitea 的首要目標是建立一個容易安裝,運行快速,安装和使用體驗良好的自建 Git 服務。我們採用 GO 為後端語言,Go 可以產生各平台使用的執行檔。除了支援 Linux、macOS 和 Windows 外,甚至還包含 ARM 和 PowerPC。 ## 功能 @@ -42,7 +42,7 @@ Gitea 的首要目標是建立一個容易安裝,運行快速,安装和使 ## 瀏覽器支援 - 請參考 [Semantic UI](https://github.com/Semantic-Org/Semantic-UI#browser-support) 所支援的瀏覽器列表。 -- 官方支援最小 UI 此寸為 **1024*768**, UI 在更小此寸也看起來不錯,但是我們並不保證且修復。 +- 官方支援最小 UI 尺寸為 **1024*768**, UI 在更小尺寸也看起來不錯,但是我們並不保證。 ## 元件