Merge branch 'release/v1.0' into backport_71_73

This commit is contained in:
Thomas Boerger
2017-02-16 16:45:53 +01:00
committed by GitHub
11 changed files with 75 additions and 8 deletions
@@ -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.
@@ -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`.
+13
View File
@@ -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"
---
+23
View File
@@ -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 获得进一步的支持
@@ -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.
@@ -32,4 +32,4 @@ chmod +x gitea
## 需要帮助?
如果从本页中没有找到你需要的内容,请访问 [Gitter channel - 英文](https://gitter.im/go-gitea/gitea/) 或加入 QQ群 328432459 获得进一步的支持。
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.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" >}})
@@ -79,4 +79,4 @@ go build
## 需要帮助?
如果从本页中没有找到你需要的内容,请访问 [Gitter channel - 英文](https://gitter.im/go-gitea/gitea/) 或加入 QQ群 328432459 获得进一步的支持。
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.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 获得进一步的支持。
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}})
+5 -1
View File
@@ -67,4 +67,8 @@ Gitea的首要目标是创建一个极易安装,运行非常快速,安装和
## 软件及服务支持
- [Drone](https://github.com/drone/drone) (CI)
- [Drone](https://github.com/drone/drone) (CI)
## 需要帮助?
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}})
+3 -3
View File
@@ -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 服務。你可以拿 GitHubBitbucket 或 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 可以產生各平台使用的執行檔。除了支援 LinuxmacOS 和 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 在更小寸也看起來不錯,但是我們並不保證。
## 元件