Skip to content

Commit 476b9d1

Browse files
authored
Use docs.gitea.com instead of docs.gitea.io (go-gitea#26739)
1 parent e0a796a commit 476b9d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+111
-111
lines changed

.gitea/issue_template.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
2. Please ask questions or configuration/deploy problems on our Discord
66
server (https://discord.gg/gitea) or forum (https://discourse.gitea.io).
77
3. Please take a moment to check that your issue doesn't already exist.
8-
4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq)
8+
4. Make sure it's not mentioned in the FAQ (https://docs.gitea.com/help/faq)
99
5. Please give all relevant information below for bug reports, because
1010
incomplete details will be handled as an invalid report.
1111
-->
@@ -26,7 +26,7 @@
2626
- [ ] No
2727
- Log gist:
2828
<!-- It really is important to provide pertinent logs -->
29-
<!-- Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems -->
29+
<!-- Please read https://docs.gitea.com/administration/logging-config#collecting-logs-for-help -->
3030
<!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini -->
3131

3232
## Description

.github/ISSUE_TEMPLATE/bug-report.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ body:
1414
server (https://discord.gg/gitea) or forum (https://discourse.gitea.io).
1515
3. Make sure you are using the latest release and
1616
take a moment to check that your issue hasn't been reported before.
17-
4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq)
17+
4. Make sure it's not mentioned in the FAQ (https://docs.gitea.com/help/faq)
1818
5. Please give all relevant information below for bug reports, because
1919
incomplete details will be handled as an invalid report.
2020
6. In particular it's really important to provide pertinent logs. You must give us DEBUG level logs.
21-
Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems
21+
Please read https://docs.gitea.com/administration/logging-config#collecting-logs-for-help
2222
In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini
2323
- type: textarea
2424
id: description
@@ -50,7 +50,7 @@ body:
5050
attributes:
5151
value: |
5252
It's really important to provide pertinent logs
53-
Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems
53+
Please read https://docs.gitea.com/administration/logging-config#collecting-logs-for-help
5454
In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini
5555
- type: input
5656
id: logs

.github/ISSUE_TEMPLATE/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ contact_links:
88
about: Please ask questions and discuss configuration or deployment problems here.
99
- name: Discourse Forum
1010
url: https://discourse.gitea.io
11-
about: Questions and configuration or deployment problems can also be discussed on our forum.
11+
about: Questions and configuration or deployment problems can also be discussed on our forum.
1212
- name: Frequently Asked Questions
13-
url: https://docs.gitea.io/en-us/faq
13+
url: https://docs.gitea.com/help/faq
1414
about: Please check if your question isn't mentioned here.
1515
- name: Crowdin Translations
1616
url: https://crowdin.com/project/gitea

.github/ISSUE_TEMPLATE/ui.bug-report.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ body:
1313
2. Please ask questions or configuration/deploy problems on our Discord
1414
server (https://discord.gg/gitea) or forum (https://discourse.gitea.io).
1515
3. Please take a moment to check that your issue doesn't already exist.
16-
4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq)
16+
4. Make sure it's not mentioned in the FAQ (https://docs.gitea.com/help/faq)
1717
5. Please give all relevant information below for bug reports, because
1818
incomplete details will be handled as an invalid report.
1919
6. In particular it's really important to provide pertinent logs. If you are certain that this is a javascript
2020
error, show us the javascript console. If the error appears to relate to Gitea the server you must also give us
21-
DEBUG level logs. (See https://docs.gitea.io/en-us/logging-configuration/#debugging-problems)
21+
DEBUG level logs. (See https://docs.gitea.com/administration/logging-config#collecting-logs-for-help)
2222
- type: textarea
2323
id: description
2424
attributes:

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
## Introduction
6161

6262
This document explains how to contribute changes to the Gitea project. \
63-
It assumes you have followed the [installation instructions](https://docs.gitea.io/en-us/). \
63+
It assumes you have followed the [installation instructions](https://docs.gitea.com/category/installation). \
6464
Sensitive security-related issues should be reported to [[email protected]](mailto:[email protected]).
6565

6666
For configuring IDEs for Gitea development, see the [contributed IDE configurations](contrib/ide/).

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ When building from the official source tarballs which include pre-built frontend
8686

8787
Parallelism (`make -j <num>`) is not supported.
8888

89-
More info: https://docs.gitea.io/en-us/install-from-source/
89+
More info: https://docs.gitea.com/installation/install-from-source
9090

9191
## Using
9292

README_ZH.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Gitea 的首要目标是创建一个极易安装,运行非常快速,安装
6868

6969
## 文档
7070

71-
关于如何安装请访问我们的 [文档站](https://docs.gitea.io/zh-cn/),如果没有找到对应的文档,你也可以通过 [Discord - 英文](https://discord.gg/gitea) 和 QQ群 328432459 来和我们交流。
71+
关于如何安装请访问我们的 [文档站](https://docs.gitea.com/zh-cn/category/installation),如果没有找到对应的文档,你也可以通过 [Discord - 英文](https://discord.gg/gitea) 和 QQ群 328432459 来和我们交流。
7272

7373
## 贡献流程
7474

contrib/gitea-monitoring-mixin/config.libsonnet

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
dashboardTimezone: 'default',
88
dashboardRefresh: '1m',
99

10-
// please see https://docs.gitea.io/en-us/config-cheat-sheet/#metrics-metrics
10+
// please see https://docs.gitea.com/administration/config-cheat-sheet#metrics-metrics
1111
// Show issue by repository metrics with format gitea_issues_by_repository{repository="org/repo"} 5.
1212
// Requires Gitea 1.16.0 with ENABLED_ISSUE_BY_REPOSITORY set to true.
1313
showIssuesByRepository: true,

contrib/legal/privacy.html.sample

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
<h3>With your Consent</h3>
3939

40-
<p>We share your User Personal Information, if you consent, after letting you know what information will be shared, with whom, and why. For example, if you allow third party applications to access your Account using <a href="https://docs.gitea.io/en-us/oauth2-provider/">OAuth2 providers</a>, we share all information associated with your Account, including private repos and organizations. You may also direct us through your action on Your Gitea Instance to share your User Personal Information, such as when joining an Organization.</p>
40+
<p>We share your User Personal Information, if you consent, after letting you know what information will be shared, with whom, and why. For example, if you allow third party applications to access your Account using <a href="https://docs.gitea.com/development/oauth2-provider">OAuth2 providers</a>, we share all information associated with your Account, including private repos and organizations. You may also direct us through your action on Your Gitea Instance to share your User Personal Information, such as when joining an Organization.</p>
4141

4242
<h3>With Service Providers</h3>
4343

@@ -144,7 +144,7 @@
144144

145145
<h3>Data Portability</h3>
146146

147-
<p>As a Your Gitea Instance User, you can always take your data with you. You can clone your repositories to your computer, or you can <a href="https://docs.gitea.io/en-us/migrations-interfaces/">perform migrations using the provided interfaces</a>, for example.</p>
147+
<p>As a Your Gitea Instance User, you can always take your data with you. You can clone your repositories to your computer, or you can <a href="https://docs.gitea.com/development/migrations-interfaces">perform migrations using the provided interfaces</a>, for example.</p>
148148

149149
<h3>Data Retention and Deletion of Data</h3>
150150

@@ -183,7 +183,7 @@
183183

184184
<h2>Changes to this Privacy Policy</h2>
185185

186-
<p>Although most changes are likely to be minor, Your Gitea Instance may change our Privacy Statement from time to time. We will provide notification to Users of material changes to this Privacy Statement through our Website at least 30 days prior to the change taking effect by posting a notice on our home page or sending email to the primary email address specified in your account.</p>
186+
<p>Although most changes are likely to be minor, Your Gitea Instance may change our Privacy Statement from time to time. We will provide notification to Users of material changes to this Privacy Statement through our Website at least 30 days prior to the change taking effect by posting a notice on our home page or sending email to the primary email address specified in your account.</p>
187187

188188
<h2>Contact</h2>
189189

docker/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Dockerfile is found in root of repository.
44

55
Docker image can be found on [docker hub](https://hub.docker.com/r/gitea/gitea)
66

7-
Documentation on using docker image can be found on [Gitea Docs site](https://docs.gitea.io/en-us/install-with-docker/)
7+
Documentation on using docker image can be found on [Gitea Docs site](https://docs.gitea.com/installation/install-with-docker-rootless)

docs/content/administration/customizing-gitea.en-us.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ Application settings can be found in file `CustomConf` which is by default,
3636
Again `gitea help` will allow you review this variable and you can override it using the
3737
`--config` option on the `gitea` binary.
3838

39-
- [Quick Cheat Sheet](https://docs.gitea.io/en-us/config-cheat-sheet/)
39+
- [Quick Cheat Sheet](administration/config-cheat-sheet.md)
4040
- [Complete List](https://github.com/go-gitea/gitea/blob/main/custom/conf/app.example.ini)
4141

4242
If the `CustomPath` folder can't be found despite checking `gitea help`, check the `GITEA_CUSTOM`
4343
environment variable; this can be used to override the default path to something else.
4444
`GITEA_CUSTOM` might, for example, be set by an init script. You can check whether the value
4545
is set under the "Configuration" tab on the site administration page.
4646

47-
- [List of Environment Variables](https://docs.gitea.io/en-us/environment-variables/)
47+
- [List of Environment Variables](administration/environment-variables.md)
4848

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

@@ -84,7 +84,7 @@ for C++ repositories, we want to replace `options/gitignore/C++`. To do this, a
8484
must be placed in `$GITEA_CUSTOM/options/gitignore/C++` (see about the location of the `CustomPath`
8585
directory at the top of this document).
8686

87-
Every single page of Gitea can be changed. Dynamic content is generated using [go templates](https://golang.org/pkg/html/template/),
87+
Every single page of Gitea can be changed. Dynamic content is generated using [go templates](https://pkg.go.dev/html/template),
8888
which can be modified by placing replacements below the `$GITEA_CUSTOM/templates` directory.
8989

9090
To obtain any embedded file (including templates), the [`gitea embedded` tool](administration/cmd-embedded.md) can be used. Alternatively, they can be found in the [`templates`](https://github.com/go-gitea/gitea/tree/main/templates) directory of Gitea source (Note: the example link is from the `main` branch. Make sure to use templates compatible with the release you are using).
@@ -108,7 +108,7 @@ just place it under your "$GITEA_CUSTOM/public/assets/" directory (for instance
108108
To match the current style, the link should have the class name "item", and you can use `{{AppSubUrl}}` to get the base URL:
109109
`<a class="item" href="{{AppSubUrl}}/assets/impressum.html">Impressum</a>`
110110

111-
For more information, see [Adding Legal Pages](https://docs.gitea.io/en-us/adding-legal-pages).
111+
For more information, see [Adding Legal Pages](administration/adding-legal-pages.md).
112112

113113
You can add new tabs in the same way, putting them in `extra_tabs.tmpl`.
114114
The exact HTML needed to match the style of other tabs is in the file
@@ -371,10 +371,10 @@ A full list of supported emoji's is at [emoji list](https://gitea.com/gitea/gite
371371
## Customizing the look of Gitea
372372
373373
The default built-in themes are `gitea` (light), `arc-green` (dark), and `auto` (chooses light or dark depending on operating system settings).
374-
The default theme can be changed via `DEFAULT_THEME` in the [ui](https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui) section of `app.ini`.
374+
The default theme can be changed via `DEFAULT_THEME` in the [ui](administration/config-cheat-sheet.md#ui-ui) section of `app.ini`.
375375
376376
Gitea also has support for user themes, which means every user can select which theme should be used.
377-
The list of themes a user can choose from can be configured with the `THEMES` value in the [ui](https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui) section of `app.ini`.
377+
The list of themes a user can choose from can be configured with the `THEMES` value in the [ui](administration/config-cheat-sheet.md#ui-ui) section of `app.ini`.
378378
379379
To make a custom theme available to all users:
380380

docs/content/administration/customizing-gitea.zh-cn.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ Gitea 引用 `custom` 目录中的自定义配置文件来覆盖配置、模板
2323
将会自动创建包括 `custom/` 在内的必要应用目录,应用本身的配置存放在
2424
`custom/conf/app.ini` 当中。在发行版中可能会以 `/etc/gitea/` 的形式为 `custom` 设置一个符号链接,查看配置详情请移步:
2525

26-
- [快速备忘单](https://docs.gitea.io/en-us/config-cheat-sheet/)
26+
- [快速备忘单](administration/config-cheat-sheet.md)
2727
- [完整配置清单](https://github.com/go-gitea/gitea/blob/main/custom/conf/app.example.ini)
2828

2929
如果您在 binary 同目录下无法找到 `custom` 文件夹,请检查您的 `GITEA_CUSTOM`
3030
环境变量配置, 因为它可能被配置到了其他地方(可能被一些启动脚本设置指定了目录)。
3131

32-
- [环境变量清单](https://docs.gitea.io/en-us/specific-variables/)
32+
- [环境变量清单](administration/environment-variables.md)
3333

3434
**注:** 必须完全重启 Gitea 以使配置生效。
3535

@@ -87,4 +87,4 @@ Gitea 引用 `custom` 目录中的自定义配置文件来覆盖配置、模板
8787
## 更改 Gitea 外观
8888

8989
Gitea 目前由两种内置主题,分别为默认 `gitea` 主题和深色主题 `arc-green`,您可以通过修改
90-
`app.ini` [ui](https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui) 部分的 `DEFAULT_THEME` 的值来变更至一个可用的 Gitea 外观。
90+
`app.ini` [ui](administration/config-cheat-sheet.md#ui-ui) 部分的 `DEFAULT_THEME` 的值来变更至一个可用的 Gitea 外观。

docs/content/administration/fail2ban-setup.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ proxy_set_header X-Real-IP $remote_addr;
119119

120120
The security options in `app.ini` need to be adjusted to allow the interpretation of the headers
121121
as well as the list of IP addresses and networks that describe trusted proxy servers
122-
(See the [configuration cheat sheet](https://docs.gitea.io/en-us/config-cheat-sheet/#security-security) for more information).
122+
(See the [configuration cheat sheet](administration/config-cheat-sheet.md#security-security) for more information).
123123

124124
```
125125
REVERSE_PROXY_LIMIT = 1

docs/content/administration/fail2ban-setup.zh-cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ REVERSE_PROXY_TRUSTED_PROXIES = 127.0.0.0/8,::1/128
9191
`REVERSE_PROXY_LIMIT` 限制反向代理服务器的层数,设置为 `0` 表示不使用这些标头。
9292
`REVERSE_PROXY_TRUSTED_PROXIES` 表示受信任的反向代理服务器网络地址,
9393
经过该网络地址转发来的流量会经过解析 `X-Real-IP` 头部得到真实客户端地址。
94-
(参考 [configuration cheat sheet](https://docs.gitea.io/en-us/config-cheat-sheet/#security-security)
94+
(参考 [configuration cheat sheet](administration/config-cheat-sheet.md#security-security)

docs/content/administration/mail-templates.en-us.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ menu:
1818
# Mail templates
1919

2020
To craft the e-mail subject and contents for certain operations, Gitea can be customized by using templates. The templates
21-
for these functions are located under the [`custom` directory](https://docs.gitea.io/en-us/customizing-gitea/).
21+
for these functions are located under the [`custom` directory](administration/customizing-gitea.md).
2222
Gitea has an internal template that serves as default in case there's no custom alternative.
2323

2424
Custom templates are loaded when Gitea starts. Changes made to them are not recognized until Gitea is restarted again.
@@ -165,7 +165,7 @@ If the template fails to render, it will be noticed only at the moment the mail
165165
A default subject is used if the subject template fails, and whatever was rendered successfully
166166
from the the _mail body_ is used, disregarding the rest.
167167

168-
Please check [Gitea's logs](https://docs.gitea.io/en-us/logging-configuration/) for error messages in case of trouble.
168+
Please check [Gitea's logs](administration/logging-config.md) for error messages in case of trouble.
169169

170170
## Example
171171

docs/content/administration/mail-templates.zh-cn.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ menu:
1717

1818
# 邮件模板
1919

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

2323
自定义模板在 Gitea 启动时加载。对它们的更改在 Gitea 重新启动之前不会被识别。
@@ -148,7 +148,7 @@ _主题_ 和 _邮件正文_ 由 [Golang的模板引擎](https://golang.org/pkg/t
148148
如果模板无法呈现,则只有在发送邮件时才会注意到。
149149
如果主题模板失败,将使用默认主题,如果从 _邮件正文_ 中成功呈现了任何内容,则将使用该内容,忽略其他内容。
150150

151-
如果遇到问题,请检查 [Gitea的日志](https://docs.gitea.io/en-us/logging-configuration/) 以获取错误消息。
151+
如果遇到问题,请检查 [Gitea的日志](administration/logging-config.md) 以获取错误消息。
152152

153153
## 示例
154154

docs/content/administration/repo-indexer.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ menu:
1919

2020
## Setting up the repository indexer
2121

22-
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/):
22+
Gitea can search through the files of the repositories by enabling this function in your [`app.ini`](administration/config-cheat-sheet.md):
2323

2424
```ini
2525
[indexer]

docs/content/administration/repo-indexer.zh-cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ menu:
1919

2020
## 设置仓库索引器
2121

22-
通过在您的 [`app.ini`](https://docs.gitea.io/en-us/config-cheat-sheet/) 中启用此功能,Gitea 可以通过仓库的文件进行搜索:
22+
通过在您的 [`app.ini`](administration/config-cheat-sheet.md) 中启用此功能,Gitea 可以通过仓库的文件进行搜索:
2323

2424
```ini
2525
[indexer]

docs/content/development/api-usage.en-us.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ menu:
2121

2222
By default, `ENABLE_SWAGGER` is true, and
2323
`MAX_RESPONSE_ITEMS` is set to 50. See [Config Cheat
24-
Sheet](https://docs.gitea.io/en-us/config-cheat-sheet/) for more
24+
Sheet](administration/config-cheat-sheet.md) for more
2525
information.
2626

2727
## Authentication
@@ -76,7 +76,7 @@ interface: `Settings | Applications | Generate New Token`.
7676
7777
## OAuth2 Provider
7878
79-
Access tokens obtained from Gitea's [OAuth2 provider](https://docs.gitea.io/en-us/oauth2-provider) are accepted by these methods:
79+
Access tokens obtained from Gitea's [OAuth2 provider](development/oauth2-provider.md) are accepted by these methods:
8080
8181
- `Authorization bearer ...` header in HTTP headers
8282
- `token=...` parameter in URL query string

docs/content/development/api-usage.zh-cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ menu:
2020
## 开启/配置 API 访问
2121

2222
通常情况下, `ENABLE_SWAGGER` 默认开启并且参数 `MAX_RESPONSE_ITEMS` 默认为 50。您可以从 [Config Cheat
23-
Sheet](https://docs.gitea.io/en-us/config-cheat-sheet/) 中获取更多配置相关信息。
23+
Sheet](administration/config-cheat-sheet.md) 中获取更多配置相关信息。
2424

2525
## 通过 API 认证
2626

0 commit comments

Comments
 (0)