Skip to content

Commit

Permalink
fix: appease linter
Browse files Browse the repository at this point in the history
Signed-off-by: jolheiser <[email protected]>
  • Loading branch information
jolheiser committed Jul 26, 2023
1 parent 2b2701c commit 6c9180b
Show file tree
Hide file tree
Showing 147 changed files with 0 additions and 275 deletions.
2 changes: 0 additions & 2 deletions docs/content/administration/backup-and-restore.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ menu:
Gitea currently has a `dump` command that will save the installation to a ZIP file. This
file can be unpacked and used to restore an instance.



## Backup Consistency

To ensure the consistency of the Gitea instance, it must be shutdown during backup.
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/cmd-embedded.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Embedded data extraction tool



Gitea's executable contains all the resources required to run: templates, images, style-sheets
and translations. Any of them can be overridden by placing a replacement in a matching path
inside the `custom` directory (see [Customizing Gitea](administration/customizing-gitea.md)).
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/cmd-embedded.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# 嵌入资源提取工具



Gitea 的可执行文件包含了运行所需的所有资源:模板、图片、样式表和翻译文件。你可以通过在 `custom` 目录下的相应路径中放置替换文件来覆盖其中的任何资源(详见 [自定义 Gitea 配置](administration/customizing-gitea.md))。

要获取嵌入资源的副本以进行编辑,可以使用 CLI 中的 `embedded` 命令,通过操作系统的 shell 执行。
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/command-line.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Command Line



## Usage

`gitea [global options] command [command or global options] [arguments...]`
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/command-line.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# 命令行



## 用法

`gitea [全局选项] 命令 [命令或全局选项] [参数...]`
Expand Down
1 change: 0 additions & 1 deletion docs/content/administration/config-cheat-sheet.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.

**Note:** A full restart is required for Gitea configuration changes to take effect.


## Default Configuration (non-`app.ini` configuration)

These values are environment-dependent but form the basis of a lot of values. They will be
Expand Down
1 change: 0 additions & 1 deletion docs/content/administration/config-cheat-sheet.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ menu:

此文档的内容可能过于陈旧或者错误,请参考英文文档。


## Overall (`DEFAULT`)

- `APP_NAME`: 应用名称,改成你希望的名字。
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/customizing-gitea.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ is set under the "Configuration" tab on the site administration page.

**Note:** Gitea must perform a full restart to see configuration changes.



## Serving custom public files

To make Gitea serve custom public files (like pages and images), use the folder
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/email-setup.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Email setup



Gitea has mailer functionality for sending transactional emails (such as registration confirmation). It can be configured to either use Sendmail (or compatible MTAs like Postfix and msmtp) or directly use SMTP server.

## Using Sendmail
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/email-setup.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Email 设置



Gitea 具有邮件功能,用于发送事务性邮件(例如注册确认邮件)。它可以配置为使用 Sendmail(或兼容的 MTA,例如 Postfix 和 msmtp)或直接使用 SMTP 服务器。

## 使用 Sendmail
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/environment-variables.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Environment variables



This is an inventory of Gitea environment variables. They change Gitea behaviour.

Initialize them before Gitea command to be effective, for example:
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/external-renderers.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Custom files rendering configuration



Gitea supports custom file renderings (i.e., Jupyter notebooks, asciidoc, etc.) through external binaries,
it is just a matter of:

Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/external-renderers.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# 自定义文件渲染配置



Gitea 通过外部二进制文件支持自定义文件渲染(例如 Jupyter notebooks、asciidoc 等),只需要进行以下步骤:

- 安装外部二进制文件
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/https-support.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# HTTPS setup to encrypt connections to Gitea



## Using the built-in server

Before you enable HTTPS, make sure that you have valid SSL/TLS certificates.
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/https-support.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ menu:

# HTTPS setup to encrypt connections to Gitea



## 使用内置服务器

在启用HTTPS之前,确保您拥有有效的SSL/TLS证书。
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/logging-config.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ The logging configuration of Gitea mainly consists of 3 types of components:

There is a fully functional log output by default, so it is not necessary to define one.



## Collecting Logs for Help

To collect logs for help and issue report, see [Support Options](help/support.md).
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/logging-config.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ Gitea 的日志配置主要由以下三种类型的组件组成:

默认情况下,已经有一个完全功能的日志输出,因此不需要重新定义。



## 收集日志以获取帮助

要收集日志以获取帮助和报告问题,请参阅 [需要帮助](help/support.md)
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/mail-templates.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Mail templates



To craft the e-mail subject and contents for certain operations, Gitea can be customized by using templates. The templates
for these functions are located under the [`custom` directory](https://docs.gitea.io/en-us/customizing-gitea/).
Gitea has an internal template that serves as default in case there's no custom alternative.
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/mail-templates.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# 邮件模板



为了定制特定操作的电子邮件主题和内容,可以使用模板来自定义 Gitea。这些功能的模板位于 [`custom` 目录](https://docs.gitea.io/en-us/customizing-gitea/) 下。
如果没有自定义的替代方案,Gitea 将使用内部模板作为默认模板。

Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/repo-indexer.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Repository indexer



## Setting up the repository indexer

Gitea can search through the files of the repositories by enabling this function in your [`app.ini`](https://docs.gitea.io/en-us/config-cheat-sheet/):
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/repo-indexer.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# 仓库索引器



## 设置仓库索引器

通过在您的 [`app.ini`](https://docs.gitea.io/en-us/config-cheat-sheet/) 中启用此功能,Gitea 可以通过仓库的文件进行搜索:
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/reverse-proxies.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Reverse Proxies



## Nginx

If you want Nginx to serve your Gitea instance, add the following `server` section to the `http` section of `nginx.conf`:
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/reverse-proxies.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# 反向代理



## 使用 Nginx 作为反向代理服务

如果您想使用 Nginx 作为 Gitea 的反向代理服务,您可以参照以下 `nginx.conf` 配置中 `server``http` 部分:
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/signing.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# GPG Commit Signatures



Gitea will verify GPG commit signatures in the provided tree by
checking if the commits are signed by a key within the Gitea database,
or if the commit matches the default key for Git.
Expand Down
2 changes: 0 additions & 2 deletions docs/content/administration/signing.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# GPG 提交签名



Gitea 将通过检查提交是否由 Gitea 数据库中的密钥签名,或者提交是否与 Git 的默认密钥匹配,来验证提供的树中的 GPG 提交签名。

密钥不会被检查以确定它们是否已过期或撤销。密钥也不会与密钥服务器进行检查。
Expand Down
2 changes: 0 additions & 2 deletions docs/content/contributing/guidelines-backend.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Guidelines for Backend Development



## Background

Gitea uses Golang as the backend programming language. It uses many third-party packages and also write some itself.
Expand Down
2 changes: 0 additions & 2 deletions docs/content/contributing/guidelines-backend.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# 后端开发指南



## 背景

Gitea使用Golang作为后端编程语言。它使用了许多第三方包,并且自己也编写了一些包。
Expand Down
2 changes: 0 additions & 2 deletions docs/content/contributing/guidelines-frontend.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Guidelines for Frontend Development



## Background

Gitea uses [Fomantic-UI](https://fomantic-ui.com/introduction/getting-started.html) (based on [jQuery](https://api.jquery.com)) and [Vue3](https://vuejs.org/) for its frontend.
Expand Down
2 changes: 0 additions & 2 deletions docs/content/contributing/guidelines-frontend.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# 前端开发指南



## 背景

Gitea 在其前端中使用[Fomantic-UI](https://fomantic-ui.com/introduction/getting-started.html)(基于[jQuery](https://api.jquery.com))和 [Vue3](https://vuejs.org/)
Expand Down
2 changes: 0 additions & 2 deletions docs/content/contributing/guidelines-refactoring.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Guidelines for Refactoring



## Background

Since the first line of code was written at Feb 12, 2014, Gitea has grown to be a large project.
Expand Down
2 changes: 0 additions & 2 deletions docs/content/contributing/guidelines-refactoring.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# 重构指南



## 背景

自2014年2月12日编写了第一行代码以来,Gitea已经发展成为一个庞大的项目。
Expand Down
2 changes: 0 additions & 2 deletions docs/content/development/api-usage.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# API Usage



## Enabling/configuring API access

By default, `ENABLE_SWAGGER` is true, and
Expand Down
2 changes: 0 additions & 2 deletions docs/content/development/hacking-on-gitea.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Hacking on Gitea



## Quickstart

To get a quick working development environment you could use Gitpod.
Expand Down
2 changes: 0 additions & 2 deletions docs/content/development/hacking-on-gitea.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Hacking on Gitea



## 快速入门

要获得快速工作的开发环境,您可以使用 Gitpod。
Expand Down
2 changes: 0 additions & 2 deletions docs/content/development/oauth2-provider.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# OAuth2 provider



Gitea supports acting as an OAuth2 provider to allow third party applications to access its resources with the user's consent. This feature is available since release 1.8.0.

## Endpoints
Expand Down
2 changes: 0 additions & 2 deletions docs/content/development/oauth2-provider.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# OAuth2 提供者



Gitea 支持作为 OAuth2 提供者,允许第三方应用程序在用户同意的情况下访问其资源。此功能自 1.8.0 版起可用。

## 端点
Expand Down
1 change: 0 additions & 1 deletion docs/content/development/oauth2-provider.zh-tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ menu:

**目錄**


Gitea 支援作為 OAuth2 提供者,能讓第三方程式能在使用者同意下存取 Gitea 的資源。此功能自 1.8.0 版開始提供。

## Endpoint
Expand Down
2 changes: 0 additions & 2 deletions docs/content/help/faq.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ This page contains some common questions and answers.

For more help resources, check all [Support Options](help/support.md).



## Difference between 1.x and 1.x.x downloads, how can I get latest stable release with bug fixes?

Version 1.20.x will be used for this example.
Expand Down
2 changes: 0 additions & 2 deletions docs/content/help/faq.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ menu:

有关更多帮助资源,请查看所有[支持选项](help/support.md)



## 1.x和1.x.x下载之间的区别

以1.7.x版本为例。
Expand Down
2 changes: 0 additions & 2 deletions docs/content/installation/comparison.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ menu:

# Gitea compared to other Git hosting options



To help decide if Gitea is suited for your needs, here is how it compares to other Git self hosted options.

Be warned that we don't regularly check for feature changes in other products, so this list may be outdated. If you find anything that needs to be updated in the table below, please [open an issue](https://github.com/go-gitea/gitea/issues/new/choose).
Expand Down
1 change: 0 additions & 1 deletion docs/content/installation/comparison.zh-tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ menu:

**目錄**


為了幫助您判斷 Gitea 是否適合您的需求,這裡列出了它和其它自託管 Git 服務的比較。

請注意我們不會經常檢查其它產品的功能異動,所以這份清單可能過期,如果您在下方表格中找到需要更新的資料,請在 [GitHub 的 Issue](https://github.com/go-gitea/gitea/issues) 回報。
Expand Down
2 changes: 0 additions & 2 deletions docs/content/installation/database-preparation.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ Database instance can be on same machine as Gitea (local database setup), or on

Note: All steps below requires that the database engine of your choice is installed on your system. For remote database setup, install the server application on database instance and client program on your Gitea server. The client program is used to test connection to the database from Gitea server, while Gitea itself use database driver provided by Go to accomplish the same thing. In addition, make sure you use same engine version for both server and client for some engine features to work. For security reason, protect `root` (MySQL) or `postgres` (PostgreSQL) database superuser with secure password. The steps assumes that you run Linux for both database and Gitea servers.



## MySQL

1. For remote database setup, you will need to make MySQL listen to your IP address. Edit `bind-address` option on `/etc/mysql/my.cnf` on database instance to:
Expand Down
2 changes: 0 additions & 2 deletions docs/content/installation/database-preparation.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ menu:

注意:以下所有步骤要求您的选择的数据库引擎已安装在您的系统上。对于远程数据库设置,请在数据库实例上安装服务器应用程序,在 Gitea 服务器上安装客户端程序。客户端程序用于测试 Gitea 服务器与数据库之间的连接,而 Gitea 本身使用 Go 提供的数据库驱动程序完成相同的任务。此外,请确保服务器和客户端使用相同的引擎版本,以使某些引擎功能正常工作。出于安全原因,请使用安全密码保护 `root`(MySQL)或 `postgres`(PostgreSQL)数据库超级用户。以下步骤假设您在数据库和 Gitea 服务器上都使用 Linux。



## MySQL

1. 对于远程数据库设置,您需要让 MySQL 监听您的 IP 地址。编辑数据库实例上的 `/etc/mysql/my.cnf` 文件中的 `bind-address` 选项为:
Expand Down
2 changes: 0 additions & 2 deletions docs/content/installation/from-binary.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ menu:
All downloads come with SQLite, MySQL and PostgreSQL support, and are built with
embedded assets. This can be different from Gogs.



## Download

You can find the file matching your platform from the [downloads page](https://dl.gitea.com/gitea/) after navigating to the version you want to download.
Expand Down
Loading

0 comments on commit 6c9180b

Please sign in to comment.