loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use docs.gitea.com instead of docs.gitea.io (#26739)

authored by

Lunny Xiao and committed by
GitHub
476b9d15 e0a796a6

+111 -111
+2 -2
.gitea/issue_template.md
··· 5 5 2. Please ask questions or configuration/deploy problems on our Discord 6 6 server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 7 7 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) 9 9 5. Please give all relevant information below for bug reports, because 10 10 incomplete details will be handled as an invalid report. 11 11 --> ··· 26 26 - [ ] No 27 27 - Log gist: 28 28 <!-- 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 --> 30 30 <!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini --> 31 31 32 32 ## Description
+3 -3
.github/ISSUE_TEMPLATE/bug-report.yaml
··· 14 14 server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 15 15 3. Make sure you are using the latest release and 16 16 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) 18 18 5. Please give all relevant information below for bug reports, because 19 19 incomplete details will be handled as an invalid report. 20 20 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 22 22 In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini 23 23 - type: textarea 24 24 id: description ··· 50 50 attributes: 51 51 value: | 52 52 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 54 54 In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini 55 55 - type: input 56 56 id: logs
+2 -2
.github/ISSUE_TEMPLATE/config.yml
··· 8 8 about: Please ask questions and discuss configuration or deployment problems here. 9 9 - name: Discourse Forum 10 10 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. 12 12 - name: Frequently Asked Questions 13 - url: https://docs.gitea.io/en-us/faq 13 + url: https://docs.gitea.com/help/faq 14 14 about: Please check if your question isn't mentioned here. 15 15 - name: Crowdin Translations 16 16 url: https://crowdin.com/project/gitea
+2 -2
.github/ISSUE_TEMPLATE/ui.bug-report.yaml
··· 13 13 2. Please ask questions or configuration/deploy problems on our Discord 14 14 server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 15 15 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) 17 17 5. Please give all relevant information below for bug reports, because 18 18 incomplete details will be handled as an invalid report. 19 19 6. In particular it's really important to provide pertinent logs. If you are certain that this is a javascript 20 20 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) 22 22 - type: textarea 23 23 id: description 24 24 attributes:
+1 -1
CONTRIBUTING.md
··· 60 60 ## Introduction 61 61 62 62 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). \ 64 64 Sensitive security-related issues should be reported to [security@gitea.io](mailto:security@gitea.io). 65 65 66 66 For configuring IDEs for Gitea development, see the [contributed IDE configurations](contrib/ide/).
+1 -1
README.md
··· 86 86 87 87 Parallelism (`make -j <num>`) is not supported. 88 88 89 - More info: https://docs.gitea.io/en-us/install-from-source/ 89 + More info: https://docs.gitea.com/installation/install-from-source 90 90 91 91 ## Using 92 92
+1 -1
README_ZH.md
··· 68 68 69 69 ## 文档 70 70 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 来和我们交流。 72 72 73 73 ## 贡献流程 74 74
+1 -1
contrib/gitea-monitoring-mixin/config.libsonnet
··· 7 7 dashboardTimezone: 'default', 8 8 dashboardRefresh: '1m', 9 9 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 11 11 // Show issue by repository metrics with format gitea_issues_by_repository{repository="org/repo"} 5. 12 12 // Requires Gitea 1.16.0 with ENABLED_ISSUE_BY_REPOSITORY set to true. 13 13 showIssuesByRepository: true,
+3 -3
contrib/legal/privacy.html.sample
··· 37 37 38 38 <h3>With your Consent</h3> 39 39 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> 41 41 42 42 <h3>With Service Providers</h3> 43 43 ··· 144 144 145 145 <h3>Data Portability</h3> 146 146 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> 148 148 149 149 <h3>Data Retention and Deletion of Data</h3> 150 150 ··· 183 183 184 184 <h2>Changes to this Privacy Policy</h2> 185 185 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> 187 187 188 188 <h2>Contact</h2> 189 189
+1 -1
docker/README.md
··· 4 4 5 5 Docker image can be found on [docker hub](https://hub.docker.com/r/gitea/gitea) 6 6 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)
+6 -6
docs/content/administration/customizing-gitea.en-us.md
··· 36 36 Again `gitea help` will allow you review this variable and you can override it using the 37 37 `--config` option on the `gitea` binary. 38 38 39 - - [Quick Cheat Sheet](https://docs.gitea.io/en-us/config-cheat-sheet/) 39 + - [Quick Cheat Sheet](administration/config-cheat-sheet.md) 40 40 - [Complete List](https://github.com/go-gitea/gitea/blob/main/custom/conf/app.example.ini) 41 41 42 42 If the `CustomPath` folder can't be found despite checking `gitea help`, check the `GITEA_CUSTOM` ··· 44 44 `GITEA_CUSTOM` might, for example, be set by an init script. You can check whether the value 45 45 is set under the "Configuration" tab on the site administration page. 46 46 47 - - [List of Environment Variables](https://docs.gitea.io/en-us/environment-variables/) 47 + - [List of Environment Variables](administration/environment-variables.md) 48 48 49 49 **Note:** Gitea must perform a full restart to see configuration changes. 50 50 ··· 84 84 must be placed in `$GITEA_CUSTOM/options/gitignore/C++` (see about the location of the `CustomPath` 85 85 directory at the top of this document). 86 86 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), 88 88 which can be modified by placing replacements below the `$GITEA_CUSTOM/templates` directory. 89 89 90 90 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 108 To match the current style, the link should have the class name "item", and you can use `{{AppSubUrl}}` to get the base URL: 109 109 `<a class="item" href="{{AppSubUrl}}/assets/impressum.html">Impressum</a>` 110 110 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). 112 112 113 113 You can add new tabs in the same way, putting them in `extra_tabs.tmpl`. 114 114 The exact HTML needed to match the style of other tabs is in the file ··· 371 371 ## Customizing the look of Gitea 372 372 373 373 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`. 375 375 376 376 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`. 378 378 379 379 To make a custom theme available to all users: 380 380
+3 -3
docs/content/administration/customizing-gitea.zh-cn.md
··· 23 23 将会自动创建包括 `custom/` 在内的必要应用目录,应用本身的配置存放在 24 24 `custom/conf/app.ini` 当中。在发行版中可能会以 `/etc/gitea/` 的形式为 `custom` 设置一个符号链接,查看配置详情请移步: 25 25 26 - - [快速备忘单](https://docs.gitea.io/en-us/config-cheat-sheet/) 26 + - [快速备忘单](administration/config-cheat-sheet.md) 27 27 - [完整配置清单](https://github.com/go-gitea/gitea/blob/main/custom/conf/app.example.ini) 28 28 29 29 如果您在 binary 同目录下无法找到 `custom` 文件夹,请检查您的 `GITEA_CUSTOM` 30 30 环境变量配置, 因为它可能被配置到了其他地方(可能被一些启动脚本设置指定了目录)。 31 31 32 - - [环境变量清单](https://docs.gitea.io/en-us/specific-variables/) 32 + - [环境变量清单](administration/environment-variables.md) 33 33 34 34 **注:** 必须完全重启 Gitea 以使配置生效。 35 35 ··· 87 87 ## 更改 Gitea 外观 88 88 89 89 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 外观。
+1 -1
docs/content/administration/fail2ban-setup.en-us.md
··· 119 119 120 120 The security options in `app.ini` need to be adjusted to allow the interpretation of the headers 121 121 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). 123 123 124 124 ``` 125 125 REVERSE_PROXY_LIMIT = 1
+1 -1
docs/content/administration/fail2ban-setup.zh-cn.md
··· 91 91 `REVERSE_PROXY_LIMIT` 限制反向代理服务器的层数,设置为 `0` 表示不使用这些标头。 92 92 `REVERSE_PROXY_TRUSTED_PROXIES` 表示受信任的反向代理服务器网络地址, 93 93 经过该网络地址转发来的流量会经过解析 `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))
+2 -2
docs/content/administration/mail-templates.en-us.md
··· 18 18 # Mail templates 19 19 20 20 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). 22 22 Gitea has an internal template that serves as default in case there's no custom alternative. 23 23 24 24 Custom templates are loaded when Gitea starts. Changes made to them are not recognized until Gitea is restarted again. ··· 165 165 A default subject is used if the subject template fails, and whatever was rendered successfully 166 166 from the the _mail body_ is used, disregarding the rest. 167 167 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. 169 169 170 170 ## Example 171 171
+2 -2
docs/content/administration/mail-templates.zh-cn.md
··· 17 17 18 18 # 邮件模板 19 19 20 - 为了定制特定操作的电子邮件主题和内容,可以使用模板来自定义 Gitea。这些功能的模板位于 [`custom` 目录](https://docs.gitea.io/en-us/customizing-gitea/) 下。 20 + 为了定制特定操作的电子邮件主题和内容,可以使用模板来自定义 Gitea。这些功能的模板位于 [`custom` 目录](administration/customizing-gitea.md) 下。 21 21 如果没有自定义的替代方案,Gitea 将使用内部模板作为默认模板。 22 22 23 23 自定义模板在 Gitea 启动时加载。对它们的更改在 Gitea 重新启动之前不会被识别。 ··· 148 148 如果模板无法呈现,则只有在发送邮件时才会注意到。 149 149 如果主题模板失败,将使用默认主题,如果从 _邮件正文_ 中成功呈现了任何内容,则将使用该内容,忽略其他内容。 150 150 151 - 如果遇到问题,请检查 [Gitea的日志](https://docs.gitea.io/en-us/logging-configuration/) 以获取错误消息。 151 + 如果遇到问题,请检查 [Gitea的日志](administration/logging-config.md) 以获取错误消息。 152 152 153 153 ## 示例 154 154
+1 -1
docs/content/administration/repo-indexer.en-us.md
··· 19 19 20 20 ## Setting up the repository indexer 21 21 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): 23 23 24 24 ```ini 25 25 [indexer]
+1 -1
docs/content/administration/repo-indexer.zh-cn.md
··· 19 19 20 20 ## 设置仓库索引器 21 21 22 - 通过在您的 [`app.ini`](https://docs.gitea.io/en-us/config-cheat-sheet/) 中启用此功能,Gitea 可以通过仓库的文件进行搜索: 22 + 通过在您的 [`app.ini`](administration/config-cheat-sheet.md) 中启用此功能,Gitea 可以通过仓库的文件进行搜索: 23 23 24 24 ```ini 25 25 [indexer]
+2 -2
docs/content/development/api-usage.en-us.md
··· 21 21 22 22 By default, `ENABLE_SWAGGER` is true, and 23 23 `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 25 25 information. 26 26 27 27 ## Authentication ··· 76 76 77 77 ## OAuth2 Provider 78 78 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: 80 80 81 81 - `Authorization bearer ...` header in HTTP headers 82 82 - `token=...` parameter in URL query string
+1 -1
docs/content/development/api-usage.zh-cn.md
··· 20 20 ## 开启/配置 API 访问 21 21 22 22 通常情况下, `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) 中获取更多配置相关信息。 24 24 25 25 ## 通过 API 认证 26 26
+2 -2
docs/content/development/oauth2-provider.en-us.md
··· 148 148 149 149 The `REDIRECT_URI` in the `access_token` request must match the `REDIRECT_URI` in the `authorize` request. 150 150 151 - 3. Use the `access_token` to make [API requests](https://docs.gitea.io/en-us/api-usage#oauth2) to access the user's resources. 151 + 3. Use the `access_token` to make [API requests](development/api-usage.md#oauth2-provider) to access the user's resources. 152 152 153 153 ### Public client (PKCE) 154 154 ··· 210 210 211 211 The `REDIRECT_URI` in the `access_token` request must match the `REDIRECT_URI` in the `authorize` request. 212 212 213 - 3. Use the `access_token` to make [API requests](https://docs.gitea.io/en-us/api-usage#oauth2) to access the user's resources. 213 + 3. Use the `access_token` to make [API requests](development/api-usage.md#oauth2-provider) to access the user's resources.
+1 -1
docs/content/development/oauth2-provider.zh-cn.md
··· 134 134 135 135 `access_token` 请求中的 `REDIRECT_URI` 必须与 `authorize` 请求中的 `REDIRECT_URI` 相符。 136 136 137 - 3. 使用 `access_token` 来构造 [API 请求](https://docs.gitea.io/en-us/api-usage#oauth2) 以读写用户的资源。 137 + 3. 使用 `access_token` 来构造 [API 请求](development/api-usage.md#oauth2-provider) 以读写用户的资源。
+1 -1
docs/content/development/oauth2-provider.zh-tw.md
··· 93 93 94 94 `access_token` 請求中的 `REDIRECT_URI` 必須符合 `authorize` 請求中的 `REDIRECT_URI`。 95 95 96 - 1. 發送 [API requests](https://docs.gitea.io/en-us/api-usage#oauth2) 時使用 `access_token` 以存取使用者的資源。 96 + 1. 發送 [API requests](development/api-usage.md#oauth2-provider) 時使用 `access_token` 以存取使用者的資源。
+1 -1
docs/content/help/support.zh-tw.md
··· 28 28 3. 您看到的任何錯誤訊息 29 29 4. 儘可能地在 [try.gitea.io](https://try.gitea.io) 觸發您的問題並記下步驟,以便其他人能重現那個問題。 30 30 - 這將讓我們更有機會快速地找出問題的根源並解決它。 31 - 5. 堆棧跟踪,[請參考英文文檔](https://docs.gitea.io/en-us/seek-help/) 31 + 5. 堆棧跟踪,[請參考英文文檔](https://docs.gitea.com/help/support) 32 32 33 33 ## 錯誤回報 34 34
+3 -3
docs/content/installation/with-docker-rootless.en-us.md
··· 254 254 255 255 # Customization 256 256 257 - Customization files described [here](https://docs.gitea.io/en-us/customizing-gitea/) should 257 + Customization files described [here](administration/customizing-gitea.md) should 258 258 be placed in `/var/lib/gitea/custom` directory. If using host volumes, it's quite easy to access these 259 259 files; for named volumes, this is done through another container or by direct access at 260 260 `/var/lib/docker/volumes/gitea_gitea/_/var_lib_gitea`. The configuration file will be saved at ··· 313 313 - GITEA__mailer__PASSWD="""${GITEA__mailer__PASSWD:?GITEA__mailer__PASSWD not set}""" 314 314 ``` 315 315 316 - To set required TOKEN and SECRET values, consider using Gitea's built-in [generate utility functions](https://docs.gitea.io/en-us/command-line/#generate). 316 + To set required TOKEN and SECRET values, consider using Gitea's built-in [generate utility functions](administration/command-line.md#generate). 317 317 318 318 # SSH Container Passthrough 319 319 ··· 342 342 sudo usermod -s /usr/local/bin/gitea-shell git 343 343 ``` 344 344 345 - Now that all the SSH commands are forwarded to the container, you need to set up the SSH authentication on the host. This is done by leveraging the [SSH AuthorizedKeysCommand](https://docs.gitea.io/en-us/command-line/#keys) to match the keys against those accepted by Gitea. Add the following block to `/etc/ssh/sshd_config`, on the host: 345 + Now that all the SSH commands are forwarded to the container, you need to set up the SSH authentication on the host. This is done by leveraging the [SSH AuthorizedKeysCommand](administration/command-line.md#keys) to match the keys against those accepted by Gitea. Add the following block to `/etc/ssh/sshd_config`, on the host: 346 346 347 347 ```bash 348 348 Match User git
+2 -2
docs/content/installation/with-docker-rootless.zh-cn.md
··· 281 281 - GITEA__mailer__PASSWD="""${GITEA__mailer__PASSWD:?GITEA__mailer__PASSWD not set}""" 282 282 ``` 283 283 284 - 要设置所需的 TOKEN 和 SECRET 值,可以使用 Gitea 的内置[生成使用函数](https://docs.gitea.io/en-us/command-line/#generate). 284 + 要设置所需的 TOKEN 和 SECRET 值,可以使用 Gitea 的内置[生成使用函数](administration/command-line.md#generate). 285 285 286 286 # SSH 容器透传 287 287 ··· 310 310 sudo usermod -s /usr/local/bin/gitea-shell git 311 311 ``` 312 312 313 - 现在,所有的 SSH 命令都会被转发到容器,您需要在主机上设置 SSH 认证。这可以通过利用 [SSH AuthorizedKeysCommand](https://docs.gitea.io/en-us/command-line/#keys) 来匹配 Gitea 接受的密钥。在主机的 `/etc/ssh/sshd_config` 文件中添加以下代码块: 313 + 现在,所有的 SSH 命令都会被转发到容器,您需要在主机上设置 SSH 认证。这可以通过利用 [SSH AuthorizedKeysCommand](administration/command-line.md#keys) 来匹配 Gitea 接受的密钥。在主机的 `/etc/ssh/sshd_config` 文件中添加以下代码块: 314 314 315 315 ```bash 316 316 Match User git
+3 -3
docs/content/installation/with-docker.en-us.md
··· 261 261 262 262 ## Customization 263 263 264 - Customization files described [here](https://docs.gitea.io/en-us/customizing-gitea/) should 264 + Customization files described [here](administration/customizing-gitea.md) should 265 265 be placed in `/data/gitea` directory. If using host volumes, it's quite easy to access these 266 266 files; for named volumes, this is done through another container or by direct access at 267 267 `/var/lib/docker/volumes/gitea_gitea/_data`. The configuration file will be saved at ··· 309 309 - GITEA__mailer__PASSWD="""${GITEA__mailer__PASSWD:?GITEA__mailer__PASSWD not set}""" 310 310 ``` 311 311 312 - Gitea will generate new secrets/tokens for every new installation automatically and write them into the app.ini. If you want to set the secrets/tokens manually, you can use the following docker commands to use of Gitea's built-in [generate utility functions](https://docs.gitea.io/en-us/command-line/#generate). Do not lose/change your SECRET_KEY after the installation, otherwise the encrypted data can not be decrypted anymore. 312 + Gitea will generate new secrets/tokens for every new installation automatically and write them into the app.ini. If you want to set the secrets/tokens manually, you can use the following docker commands to use of Gitea's built-in [generate utility functions](administration/command-line.md#generate). Do not lose/change your SECRET_KEY after the installation, otherwise the encrypted data can not be decrypted anymore. 313 313 314 314 The following commands will output a new `SECRET_KEY` and `INTERNAL_TOKEN` to `stdout`, which you can then place in your environment variables. 315 315 ··· 553 553 554 554 Now all attempts to login as the `git` user on the host will be forwarded to the docker - including the `SSH_ORIGINAL_COMMAND`. We now need to set-up SSH authentication on the host. 555 555 556 - We will do this by leveraging the [SSH AuthorizedKeysCommand](https://docs.gitea.io/en-us/command-line/#keys) to match the keys against those accepted by Gitea. 556 + We will do this by leveraging the [SSH AuthorizedKeysCommand](administration/command-line.md#keys) to match the keys against those accepted by Gitea. 557 557 558 558 Add the following block to `/etc/ssh/sshd_config`, on the host: 559 559
+1 -1
docs/content/installation/with-docker.fr-fr.md
··· 103 103 104 104 # Personnalisation 105 105 106 - Les fichier personnalisés ([voir les instructions](https://docs.gitea.io/en-us/customizing-gitea/)) peuvent être placés dans le répertoire `/data/gitea`. 106 + Les fichier personnalisés ([voir les instructions](administration/customizing-gitea.md)) peuvent être placés dans le répertoire `/data/gitea`. 107 107 108 108 Le fichier de configuration sera sauvegardé à l'emplacement suivant : `/data/gitea/conf/app.ini` 109 109
+2 -2
docs/content/installation/with-docker.zh-cn.md
··· 260 260 261 261 ## 自定义 262 262 263 - [此处](https://docs.gitea.io/zh-cn/customizing-gitea/)描述的定制文件应放在 `/data/gitea` 目录中。如果使用主机卷,则访问这些文件非常容易;对于命名卷,可以通过另一个容器或通过直接访问 `/var/lib/docker/volumes/gitea_gitea/_data` 来完成。安装后,配置文件将保存在 `/data/gitea/conf/app.ini` 中。 263 + [此处](administration/customizing-gitea.md)描述的定制文件应放在 `/data/gitea` 目录中。如果使用主机卷,则访问这些文件非常容易;对于命名卷,可以通过另一个容器或通过直接访问 `/var/lib/docker/volumes/gitea_gitea/_data` 来完成。安装后,配置文件将保存在 `/data/gitea/conf/app.ini` 中。 264 264 265 265 ## 升级 266 266 ··· 293 293 - GITEA__mailer__PASSWD="""${GITEA__mailer__PASSWD:?GITEA__mailer__PASSWD not set}""" 294 294 ``` 295 295 296 - Gitea 将为每次新安装自动生成新的 `SECRET_KEY` 并将它们写入 `app.ini`。 如果您想手动设置 `SECRET_KEY`,您可以使用以下 docker 命令来使用 Gitea 内置的[方法](https://docs.gitea.io/en-us/command-line/#generate)生成 `SECRET_KEY`。 安装后请妥善保管您的 `SECRET_KEY`,如若丢失则无法解密已加密的数据。 296 + Gitea 将为每次新安装自动生成新的 `SECRET_KEY` 并将它们写入 `app.ini`。 如果您想手动设置 `SECRET_KEY`,您可以使用以下 docker 命令来使用 Gitea 内置的[方法](administration/command-line.md#generate)生成 `SECRET_KEY`。 安装后请妥善保管您的 `SECRET_KEY`,如若丢失则无法解密已加密的数据。 297 297 298 298 以下命令将向 `stdout` 输出一个新的 `SECRET_KEY` 和 `INTERNAL_TOKEN`,然后您可以将其放入环境变量中。 299 299
+1 -1
docs/content/usage/actions/design.en-us.md
··· 112 112 113 113 In fact, your Gitea instance can serve as both the actions marketplace and the image registry. 114 114 You can mirror actions repositories from GitHub to your Gitea instance, and use them as normal. 115 - And [Gitea Container Registry](https://docs.gitea.io/en-us/usage/packages/container/) can be used as a Docker image registry. 115 + And [Gitea Container Registry](usage/packages/container.md) can be used as a Docker image registry. 116 116 117 117 ### Connection 4, job containers to internet 118 118
+1 -1
docs/content/usage/actions/design.zh-cn.md
··· 113 113 114 114 实际上,您的Gitea实例可以同时充当 Actions 市场和镜像注册表。 115 115 您可以将GitHub上的Actions仓库镜像到您的Gitea实例,并将其用作普通Actions。 116 - 而 [Gitea 容器注册表](https://docs.gitea.io/en-us/usage/packages/container/) 可用作Docker镜像注册表。 116 + 而 [Gitea 容器注册表](usage/packages/container.md) 可用作Docker镜像注册表。 117 117 118 118 ### 连接 4,Job容器到互联网 119 119
+2 -2
docs/content/usage/actions/faq.en-us.md
··· 61 61 Be careful, the `https://` or `http://` prefix is necessary! 62 62 63 63 Alternatively, if you want your runners to download actions from GitHub or your own Gitea instance by default, you can configure it by setting `[actions].DEFAULT_ACTIONS_URL`. 64 - See [Configuration Cheat Sheet](https://docs.gitea.io/en-us/config-cheat-sheet/#actions-actions). 64 + See [Configuration Cheat Sheet](administration/config-cheat-sheet.md#actions-actions). 65 65 66 66 This is one of the differences from GitHub Actions, but it should allow users much more flexibility in how they run Actions. 67 67 ··· 69 69 70 70 Runners have no more permissions than simply connecting to your Gitea instance. 71 71 When any runner receives a job to run, it will temporarily gain limited permission to the repository associated with the job. 72 - If you want to give more permissions to the runner, allowing it to access more private repositories or external systems, you can pass [secrets](https://docs.gitea.io/en-us/usage/secrets/) to it. 72 + If you want to give more permissions to the runner, allowing it to access more private repositories or external systems, you can pass [secrets](usage/secrets.md) to it. 73 73 74 74 Refined permission control to Actions is a complicated job. 75 75 In the future, we will add more options to Gitea to make it more configurable, such as allowing more write access to repositories or read access to all repositories in the same organization.
+2 -2
docs/content/usage/actions/faq.zh-cn.md
··· 61 61 注意,`https://`或`http://`前缀是必需的! 62 62 63 63 另外,如果您希望您的Runner默认从GitHub或您自己的Gitea实例下载Actions,可以通过设置 `[actions].DEFAULT_ACTIONS_URL`进行配置。 64 - 参见[配置速查表](https://docs.gitea.io/en-us/config-cheat-sheet/#actions-actions)。 64 + 参见[配置速查表](administration/config-cheat-sheet.md#actions-actions)。 65 65 66 66 这是与GitHub Actions的一个区别,但它应该允许用户以更灵活的方式运行Actions。 67 67 ··· 69 69 70 70 Runner仅具有连接到您的Gitea实例的权限。 71 71 当任何Runner接收到要运行的Job时,它将临时获得与Job关联的仓库的有限权限。 72 - 如果您想为Runner提供更多权限,允许它访问更多私有仓库或外部系统,您可以向其传递[密钥](https://docs.gitea.io/en-us/usage/secrets/)。 72 + 如果您想为Runner提供更多权限,允许它访问更多私有仓库或外部系统,您可以向其传递[密钥](usage/secrets.md)。 73 73 74 74 对于 Actions 的细粒度权限控制是一项复杂的工作。 75 75 在未来,我们将添加更多选项以使Gitea更可配置,例如允许对仓库进行更多写访问或对同一组织中的所有仓库进行读访问。
+1 -1
docs/content/usage/authentication.en-us.md
··· 197 197 field is set to `mail.com`, then Gitea will expect the `user email` field 198 198 for an authenticated GIT instance to be `gituser@mail.com`.[^2] 199 199 200 - **Note**: PAM support is added via [build-time flags](https://docs.gitea.io/en-us/install-from-source/#build), 200 + **Note**: PAM support is added via [build-time flags](installation/install-from-source.md#build), 201 201 and the official binaries provided do not have this enabled. PAM requires that 202 202 the necessary libpam dynamic library be available and the necessary PAM 203 203 development headers be accessible to the compiler.
+1 -1
docs/content/usage/authentication.zh-cn.md
··· 162 162 - PAM电子邮件域:用户认证时要附加的电子邮件后缀。例如,如果登录系统期望一个名为gituse的用户, 163 163 并且将此字段设置为mail.com,那么Gitea在验证一个GIT实例的用户时将期望user emai字段为gituser@mail.com[^2]。 164 164 165 - **Note**: PAM 支持通过[build-time flags](https://docs.gitea.io/en-us/install-from-source/#build)添加, 165 + **Note**: PAM 支持通过[build-time flags](installation/install-from-source.md#build)添加, 166 166 而官方提供的二进制文件通常不会默认启用此功能。PAM需要确保系统上有必要的libpam动态库,并且编译器可以访问必要的PAM开发头文件。 167 167 168 168 [^1]: 例如,在Debian "Bullseye"上使用标准Linux登录,可以使用`common-session-noninteractive`。这个值对于其他版本的Debian,
+3 -3
modules/packages/conda/metadata_test.go
··· 19 19 packageName = "gitea" 20 20 packageVersion = "1.0.1" 21 21 description = "Package Description" 22 - projectURL = "https://gitea.io" 23 - repositoryURL = "https://gitea.io/gitea/gitea" 24 - documentationURL = "https://docs.gitea.io" 22 + projectURL = "https://gitea.com" 23 + repositoryURL = "https://gitea.com/gitea/gitea" 24 + documentationURL = "https://docs.gitea.com" 25 25 ) 26 26 27 27 func TestParsePackage(t *testing.T) {
+2 -2
modules/packages/container/metadata_test.go
··· 17 17 description := "Image Description" 18 18 author := "Gitea" 19 19 license := "MIT" 20 - projectURL := "https://gitea.io" 20 + projectURL := "https://gitea.com" 21 21 repositoryURL := "https://gitea.com/gitea" 22 - documentationURL := "https://docs.gitea.io" 22 + documentationURL := "https://docs.gitea.com" 23 23 24 24 configOCI := `{"config": {"labels": {"` + labelAuthors + `": "` + author + `", "` + labelLicenses + `": "` + license + `", "` + labelURL + `": "` + projectURL + `", "` + labelSource + `": "` + repositoryURL + `", "` + labelDocumentation + `": "` + documentationURL + `", "` + labelDescription + `": "` + description + `"}}, "history": [{"created_by": "do it 1"}, {"created_by": "dummy #(nop) do it 2"}]}` 25 25
+3 -3
modules/packages/pub/metadata_test.go
··· 18 18 packageName = "gitea" 19 19 packageVersion = "1.0.1" 20 20 description = "Package Description" 21 - projectURL = "https://gitea.io" 22 - repositoryURL = "https://gitea.io/gitea/gitea" 23 - documentationURL = "https://docs.gitea.io" 21 + projectURL = "https://gitea.com" 22 + repositoryURL = "https://gitea.com/gitea/gitea" 23 + documentationURL = "https://docs.gitea.com" 24 24 ) 25 25 26 26 const pubspecContent = `name: ` + packageName + `
+5 -5
options/locale/locale_en-US.ini
··· 181 181 [startpage] 182 182 app_desc = A painless, self-hosted Git service 183 183 install = Easy to install 184 - install_desc = Simply <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/en-us/install-from-binary/">run the binary</a> for your platform, ship it with <a target="_blank" rel="noopener noreferrer" href="https://github.com/go-gitea/gitea/tree/master/docker">Docker</a>, or get it <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/en-us/install-from-package/">packaged</a>. 184 + install_desc = Simply <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.com/installation/install-from-binary">run the binary</a> for your platform, ship it with <a target="_blank" rel="noopener noreferrer" href="https://github.com/go-gitea/gitea/tree/master/docker">Docker</a>, or get it <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.com/installation/install-from-package">packaged</a>. 185 185 platform = Cross-platform 186 186 platform_desc = Gitea runs anywhere <a target="_blank" rel="noopener noreferrer" href="http://golang.org/">Go</a> can compile for: Windows, macOS, Linux, ARM, etc. Choose the one you love! 187 187 lightweight = Lightweight ··· 2328 2328 settings.tags.protection.allowed.noone = No One 2329 2329 settings.tags.protection.create = Protect Tag 2330 2330 settings.tags.protection.none = There are no protected tags. 2331 - settings.tags.protection.pattern.description = You can use a single name or a glob pattern or regular expression to match multiple tags. Read more in the <a target="_blank" rel="noopener" href="https://docs.gitea.io/en-us/protected-tags/">protected tags guide</a>. 2331 + settings.tags.protection.pattern.description = You can use a single name or a glob pattern or regular expression to match multiple tags. Read more in the <a target="_blank" rel="noopener" href="https://docs.gitea.com/usage/protected-tags">protected tags guide</a>. 2332 2332 settings.bot_token = Bot Token 2333 2333 settings.chat_id = Chat ID 2334 2334 settings.thread_id = Thread ID ··· 2869 2869 packages.published = Published 2870 2870 2871 2871 defaulthooks = Default Webhooks 2872 - defaulthooks.desc = Webhooks automatically make HTTP POST requests to a server when certain Gitea events trigger. Webhooks defined here are defaults and will be copied into all new repositories. Read more in the <a target="_blank" rel="noopener" href="https://docs.gitea.io/en-us/webhooks/">webhooks guide</a>. 2872 + defaulthooks.desc = Webhooks automatically make HTTP POST requests to a server when certain Gitea events trigger. Webhooks defined here are defaults and will be copied into all new repositories. Read more in the <a target="_blank" rel="noopener" href="https://docs.gitea.com/usage/webhooks">webhooks guide</a>. 2873 2873 defaulthooks.add_webhook = Add Default Webhook 2874 2874 defaulthooks.update_webhook = Update Default Webhook 2875 2875 2876 2876 systemhooks = System Webhooks 2877 - systemhooks.desc = Webhooks automatically make HTTP POST requests to a server when certain Gitea events trigger. Webhooks defined here will act on all repositories on the system, so please consider any performance implications this may have. Read more in the <a target="_blank" rel="noopener" href="https://docs.gitea.io/en-us/webhooks/">webhooks guide</a>. 2877 + systemhooks.desc = Webhooks automatically make HTTP POST requests to a server when certain Gitea events trigger. Webhooks defined here will act on all repositories on the system, so please consider any performance implications this may have. Read more in the <a target="_blank" rel="noopener" href="https://docs.gitea.com/usage/webhooks">webhooks guide</a>. 2878 2878 systemhooks.add_webhook = Add System Webhook 2879 2879 systemhooks.update_webhook = Update System Webhook 2880 2880 ··· 2979 2979 auths.tip.openid_connect = Use the OpenID Connect Discovery URL (<server>/.well-known/openid-configuration) to specify the endpoints 2980 2980 auths.tip.twitter = Go to https://dev.twitter.com/apps, create an application and ensure that the “Allow this application to be used to Sign in with Twitter” option is enabled 2981 2981 auths.tip.discord = Register a new application on https://discordapp.com/developers/applications/me 2982 - auths.tip.gitea = Register a new OAuth2 application. Guide can be found at https://docs.gitea.io/en-us/oauth2-provider/ 2982 + auths.tip.gitea = Register a new OAuth2 application. Guide can be found at https://docs.gitea.com/development/oauth2-provider 2983 2983 auths.tip.yandex = Create a new application at https://oauth.yandex.com/client/new. Select following permissions from the "Yandex.Passport API" section: "Access to email address", "Access to user avatar" and "Access to username, first name and surname, gender" 2984 2984 auths.tip.mastodon = Input a custom instance URL for the mastodon instance you want to authenticate with (or use the default one) 2985 2985 auths.edit = Edit Authentication Source
+1 -1
routers/install/install.go
··· 181 181 if err = db.InitEngine(ctx); err != nil { 182 182 if strings.Contains(err.Error(), `Unknown database type: sqlite3`) { 183 183 ctx.Data["Err_DbType"] = true 184 - ctx.RenderWithErr(ctx.Tr("install.sqlite3_not_available", "https://docs.gitea.io/en-us/install-from-binary/"), tplInstall, form) 184 + ctx.RenderWithErr(ctx.Tr("install.sqlite3_not_available", "https://docs.gitea.com/installation/install-from-binary"), tplInstall, form) 185 185 } else { 186 186 ctx.Data["Err_DbSetting"] = true 187 187 ctx.RenderWithErr(ctx.Tr("install.invalid_db_setting", err), tplInstall, form)
+1 -1
routers/web/repo/setting/webhook.go
··· 44 44 ctx.Data["PageIsSettingsHooks"] = true 45 45 ctx.Data["BaseLink"] = ctx.Repo.RepoLink + "/settings/hooks" 46 46 ctx.Data["BaseLinkNew"] = ctx.Repo.RepoLink + "/settings/hooks" 47 - ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://docs.gitea.io/en-us/webhooks/") 47 + ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://docs.gitea.com/usage/webhooks") 48 48 49 49 ws, err := webhook.ListWebhooksByOpts(ctx, &webhook.ListWebhookOptions{RepoID: ctx.Repo.Repository.ID}) 50 50 if err != nil {
+2 -2
templates/base/head_navbar.tmpl
··· 48 48 {{template "custom/extra_links" .}} 49 49 50 50 {{if not .IsSigned}} 51 - <a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io">{{.locale.Tr "help"}}</a> 51 + <a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.com">{{.locale.Tr "help"}}</a> 52 52 {{end}} 53 53 </div> 54 54 ··· 171 171 {{svg "octicon-tools"}} 172 172 {{.locale.Tr "your_settings"}} 173 173 </a> 174 - <a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io"> 174 + <a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.com"> 175 175 {{svg "octicon-question"}} 176 176 {{.locale.Tr "help"}} 177 177 </a>
+1 -1
templates/install.tmpl
··· 8 8 <div class="ui attached segment"> 9 9 {{template "base/alert" .}} 10 10 11 - <p>{{.locale.Tr "install.docker_helper" "https://docs.gitea.io/en-us/install-with-docker/" | Safe}}</p> 11 + <p>{{.locale.Tr "install.docker_helper" "https://docs.gitea.com/installation/install-with-docker" | Safe}}</p> 12 12 13 13 <form class="ui form" action="{{AppSubUrl}}/" method="post"> 14 14 <!-- Database Settings -->
+1 -1
templates/package/content/alpine.tmpl
··· 18 18 </div> 19 19 </div> 20 20 <div class="field"> 21 - <label>{{.locale.Tr "packages.registry.documentation" "Alpine" "https://docs.gitea.io/en-us/usage/packages/alpine/" | Safe}}</label> 21 + <label>{{.locale.Tr "packages.registry.documentation" "Alpine" "https://docs.gitea.com/usage/packages/alpine/" | Safe}}</label> 22 22 </div> 23 23 </div> 24 24 </div>
+1 -1
templates/package/content/cargo.tmpl
··· 18 18 <div class="markup"><pre class="code-block"><code>cargo add {{.PackageDescriptor.Package.Name}}@{{.PackageDescriptor.Version.Version}}</code></pre></div> 19 19 </div> 20 20 <div class="field"> 21 - <label>{{.locale.Tr "packages.registry.documentation" "Cargo" "https://docs.gitea.io/en-us/usage/packages/cargo/" | Safe}}</label> 21 + <label>{{.locale.Tr "packages.registry.documentation" "Cargo" "https://docs.gitea.com/usage/packages/cargo/" | Safe}}</label> 22 22 </div> 23 23 </div> 24 24 </div>
+1 -1
templates/package/content/chef.tmpl
··· 11 11 <div class="markup"><pre class="code-block"><code>knife supermarket install {{.PackageDescriptor.Package.Name}} {{.PackageDescriptor.Version.Version}}</code></pre></div> 12 12 </div> 13 13 <div class="field"> 14 - <label>{{.locale.Tr "packages.registry.documentation" "Chef" "https://docs.gitea.io/en-us/usage/packages/chef/" | Safe}}</label> 14 + <label>{{.locale.Tr "packages.registry.documentation" "Chef" "https://docs.gitea.com/usage/packages/chef/" | Safe}}</label> 15 15 </div> 16 16 </div> 17 17 </div>
+1 -1
templates/package/content/composer.tmpl
··· 17 17 <div class="markup"><pre class="code-block"><code>composer require {{.PackageDescriptor.Package.Name}}:{{.PackageDescriptor.Version.Version}}</code></pre></div> 18 18 </div> 19 19 <div class="field"> 20 - <label>{{.locale.Tr "packages.registry.documentation" "Composer" "https://docs.gitea.io/en-us/usage/packages/composer/" | Safe}}</label> 20 + <label>{{.locale.Tr "packages.registry.documentation" "Composer" "https://docs.gitea.com/usage/packages/composer/" | Safe}}</label> 21 21 </div> 22 22 </div> 23 23 </div>
+1 -1
templates/package/content/conan.tmpl
··· 11 11 <div class="markup"><pre class="code-block"><code>conan install --remote=gitea {{.PackageDescriptor.Package.Name}}/{{.PackageDescriptor.Version.Version}}</code></pre></div> 12 12 </div> 13 13 <div class="field"> 14 - <label>{{.locale.Tr "packages.registry.documentation" "Conan" "https://docs.gitea.io/en-us/usage/packages/conan/" | Safe}}</label> 14 + <label>{{.locale.Tr "packages.registry.documentation" "Conan" "https://docs.gitea.com/usage/packages/conan/" | Safe}}</label> 15 15 </div> 16 16 </div> 17 17 </div>
+1 -1
templates/package/content/conda.tmpl
··· 16 16 <div class="markup"><pre class="code-block"><code>conda install{{if $channel}} -c {{$channel}}{{end}} {{.PackageDescriptor.PackageProperties.GetByName "conda.name"}}={{.PackageDescriptor.Version.Version}}</code></pre></div> 17 17 </div> 18 18 <div class="field"> 19 - <label>{{.locale.Tr "packages.registry.documentation" "Conda" "https://docs.gitea.io/en-us/usage/packages/conda/" | Safe}}</label> 19 + <label>{{.locale.Tr "packages.registry.documentation" "Conda" "https://docs.gitea.com/usage/packages/conda/" | Safe}}</label> 20 20 </div> 21 21 </div> 22 22 </div>
+1 -1
templates/package/content/container.tmpl
··· 19 19 <div class="markup"><pre class="code-block"><code>{{range .PackageDescriptor.Files}}{{if eq .File.LowerName "manifest.json"}}{{.Properties.GetByName "container.digest"}}{{end}}{{end}}</code></pre></div> 20 20 </div> 21 21 <div class="field"> 22 - <label>{{.locale.Tr "packages.registry.documentation" "Container" "https://docs.gitea.io/en-us/usage/packages/container/" | Safe}}</label> 22 + <label>{{.locale.Tr "packages.registry.documentation" "Container" "https://docs.gitea.com/usage/packages/container/" | Safe}}</label> 23 23 </div> 24 24 </div> 25 25 </div>
+1 -1
templates/package/content/cran.tmpl
··· 11 11 <div class="markup"><pre class="code-block"><code>install.packages("{{.PackageDescriptor.Package.Name}}")</code></pre></div> 12 12 </div> 13 13 <div class="field"> 14 - <label>{{.locale.Tr "packages.registry.documentation" "CRAN" "https://docs.gitea.io/en-us/usage/packages/container/" | Safe}}</label> 14 + <label>{{.locale.Tr "packages.registry.documentation" "CRAN" "https://docs.gitea.com/usage/packages/cran/" | Safe}}</label> 15 15 </div> 16 16 </div> 17 17 </div>
+1 -1
templates/package/content/debian.tmpl
··· 16 16 </div> 17 17 </div> 18 18 <div class="field"> 19 - <label>{{.locale.Tr "packages.registry.documentation" "Debian" "https://docs.gitea.io/en-us/usage/packages/debian/" | Safe}}</label> 19 + <label>{{.locale.Tr "packages.registry.documentation" "Debian" "https://docs.gitea.com/usage/packages/debian/" | Safe}}</label> 20 20 </div> 21 21 </div> 22 22 </div>
+1 -1
templates/package/content/generic.tmpl
··· 11 11 </code></pre></div> 12 12 </div> 13 13 <div class="field"> 14 - <label>{{.locale.Tr "packages.registry.documentation" "Generic" "https://docs.gitea.io/en-us/usage/packages/generic" | Safe}}</label> 14 + <label>{{.locale.Tr "packages.registry.documentation" "Generic" "https://docs.gitea.com/usage/packages/generic" | Safe}}</label> 15 15 </div> 16 16 </div> 17 17 </div>
+1 -1
templates/package/content/go.tmpl
··· 7 7 <div class="markup"><pre class="code-block"><code>GOPROXY=<gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/go"></gitea-origin-url> go install {{$.PackageDescriptor.Package.Name}}@{{$.PackageDescriptor.Version.Version}}</code></pre></div> 8 8 </div> 9 9 <div class="field"> 10 - <label>{{.locale.Tr "packages.registry.documentation" "Go" "https://docs.gitea.io/en-us/usage/packages/go" | Safe}}</label> 10 + <label>{{.locale.Tr "packages.registry.documentation" "Go" "https://docs.gitea.com/usage/packages/go" | Safe}}</label> 11 11 </div> 12 12 </div> 13 13 </div>
+1 -1
templates/package/content/helm.tmpl
··· 12 12 <div class="markup"><pre class="code-block"><code>helm install {{.PackageDescriptor.Package.Name}} {{AppDomain}}/{{.PackageDescriptor.Package.Name}}</code></pre></div> 13 13 </div> 14 14 <div class="field"> 15 - <label>{{.locale.Tr "packages.registry.documentation" "Helm" "https://docs.gitea.io/en-us/usage/packages/helm/" | Safe}}</label> 15 + <label>{{.locale.Tr "packages.registry.documentation" "Helm" "https://docs.gitea.com/usage/packages/helm/" | Safe}}</label> 16 16 </div> 17 17 </div> 18 18 </div>
+1 -1
templates/package/content/maven.tmpl
··· 40 40 <div class="markup"><pre class="code-block"><code>mvn dependency:get -DremoteRepositories=<gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/maven"></gitea-origin-url> -Dartifact={{.PackageDescriptor.Metadata.GroupID}}:{{.PackageDescriptor.Metadata.ArtifactID}}:{{.PackageDescriptor.Version.Version}}</code></pre></div> 41 41 </div> 42 42 <div class="field"> 43 - <label>{{.locale.Tr "packages.registry.documentation" "Maven" "https://docs.gitea.io/en-us/usage/packages/maven/" | Safe}}</label> 43 + <label>{{.locale.Tr "packages.registry.documentation" "Maven" "https://docs.gitea.com/usage/packages/maven/" | Safe}}</label> 44 44 </div> 45 45 </div> 46 46 </div>
+1 -1
templates/package/content/npm.tmpl
··· 15 15 <div class="markup"><pre class="code-block"><code>&quot;{{.PackageDescriptor.Package.Name}}&quot;: &quot;{{.PackageDescriptor.Version.Version}}&quot;</code></pre></div> 16 16 </div> 17 17 <div class="field"> 18 - <label>{{.locale.Tr "packages.registry.documentation" "npm" "https://docs.gitea.io/en-us/usage/packages/npm/" | Safe}}</label> 18 + <label>{{.locale.Tr "packages.registry.documentation" "npm" "https://docs.gitea.com/usage/packages/npm/" | Safe}}</label> 19 19 </div> 20 20 </div> 21 21 </div>
+1 -1
templates/package/content/nuget.tmpl
··· 11 11 <div class="markup"><pre class="code-block"><code>dotnet add package --source {{.PackageDescriptor.Owner.Name}} --version {{.PackageDescriptor.Version.Version}} {{.PackageDescriptor.Package.Name}}</code></pre></div> 12 12 </div> 13 13 <div class="field"> 14 - <label>{{.locale.Tr "packages.registry.documentation" "NuGet" "https://docs.gitea.io/en-us/usage/packages/nuget/" | Safe}}</label> 14 + <label>{{.locale.Tr "packages.registry.documentation" "NuGet" "https://docs.gitea.com/usage/packages/nuget/" | Safe}}</label> 15 15 </div> 16 16 </div> 17 17 </div>
+1 -1
templates/package/content/pub.tmpl
··· 7 7 <div class="markup"><pre class="code-block"><code>dart pub add {{.PackageDescriptor.Package.Name}}:{{.PackageDescriptor.Version.Version}} --hosted-url=<gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/pub/"></gitea-origin-url></code></pre></div> 8 8 </div> 9 9 <div class="field"> 10 - <label>{{.locale.Tr "packages.registry.documentation" "Pub" "https://docs.gitea.io/en-us/usage/packages/pub/" | Safe}}</label> 10 + <label>{{.locale.Tr "packages.registry.documentation" "Pub" "https://docs.gitea.com/usage/packages/pub/" | Safe}}</label> 11 11 </div> 12 12 </div> 13 13 </div>
+1 -1
templates/package/content/pypi.tmpl
··· 7 7 <div class="markup"><pre class="code-block"><code>pip install --index-url <gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/pypi/simple/"></gitea-origin-url> {{.PackageDescriptor.Package.Name}}</code></pre></div> 8 8 </div> 9 9 <div class="field"> 10 - <label>{{.locale.Tr "packages.registry.documentation" "PyPI" "https://docs.gitea.io/en-us/usage/packages/pypi/" | Safe}}</label> 10 + <label>{{.locale.Tr "packages.registry.documentation" "PyPI" "https://docs.gitea.com/usage/packages/pypi/" | Safe}}</label> 11 11 </div> 12 12 </div> 13 13 </div>
+1 -1
templates/package/content/rpm.tmpl
··· 21 21 </div> 22 22 </div> 23 23 <div class="field"> 24 - <label>{{.locale.Tr "packages.registry.documentation" "RPM" "https://docs.gitea.io/en-us/usage/packages/rpm/" | Safe}}</label> 24 + <label>{{.locale.Tr "packages.registry.documentation" "RPM" "https://docs.gitea.com/usage/packages/rpm/" | Safe}}</label> 25 25 </div> 26 26 </div> 27 27 </div>
+1 -1
templates/package/content/rubygems.tmpl
··· 13 13 end</code></pre></div> 14 14 </div> 15 15 <div class="field"> 16 - <label>{{.locale.Tr "packages.registry.documentation" "RubyGems" "https://docs.gitea.io/en-us/usage/packages/rubygems/" | Safe}}</label> 16 + <label>{{.locale.Tr "packages.registry.documentation" "RubyGems" "https://docs.gitea.com/usage/packages/rubygems/" | Safe}}</label> 17 17 </div> 18 18 </div> 19 19 </div>
+1 -1
templates/package/content/swift.tmpl
··· 17 17 <div class="markup"><pre class="code-block"><code>swift package resolve</code></pre></div> 18 18 </div> 19 19 <div class="field"> 20 - <label>{{.locale.Tr "packages.registry.documentation" "Swift" "https://docs.gitea.io/en-us/usage/packages/swift/" | Safe}}</label> 20 + <label>{{.locale.Tr "packages.registry.documentation" "Swift" "https://docs.gitea.com/usage/packages/swift/" | Safe}}</label> 21 21 </div> 22 22 </div> 23 23 </div>
+1 -1
templates/package/content/vagrant.tmpl
··· 7 7 <div class="markup"><pre class="code-block"><code>vagrant box add --box-version {{.PackageDescriptor.Version.Version}} "<gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/vagrant/{{.PackageDescriptor.Package.Name}}"></gitea-origin-url>"</code></pre></div> 8 8 </div> 9 9 <div class="field"> 10 - <label>{{.locale.Tr "packages.registry.documentation" "Vagrant" "https://docs.gitea.io/en-us/usage/packages/vagrant/" | Safe}}</label> 10 + <label>{{.locale.Tr "packages.registry.documentation" "Vagrant" "https://docs.gitea.com/usage/packages/vagrant/" | Safe}}</label> 11 11 </div> 12 12 </div> 13 13 </div>
+1 -1
templates/package/shared/cargo.tmpl
··· 18 18 <button class="ui green button">{{$.locale.Tr "packages.owner.settings.cargo.rebuild"}}</button> 19 19 </form> 20 20 <div class="field"> 21 - <label>{{.locale.Tr "packages.registry.documentation" "Cargo" "https://docs.gitea.io/en-us/usage/packages/cargo/" | Safe}}</label> 21 + <label>{{.locale.Tr "packages.registry.documentation" "Cargo" "https://docs.gitea.com/usage/packages/cargo/" | Safe}}</label> 22 22 </div> 23 23 </div> 24 24 </div>
+1 -1
templates/package/shared/list.tmpl
··· 43 43 {{$packagesUrl := URLJoin .Owner.HomeLink "-" "packages"}} 44 44 <p>{{.locale.Tr "packages.empty.repo" $packagesUrl | Safe}}</p> 45 45 {{end}} 46 - <p>{{.locale.Tr "packages.empty.documentation" "https://docs.gitea.io/en-us/usage/packages/overview/" | Safe}}</p> 46 + <p>{{.locale.Tr "packages.empty.documentation" "https://docs.gitea.com/usage/packages/overview/" | Safe}}</p> 47 47 </div> 48 48 {{else}} 49 49 <p>{{.locale.Tr "packages.filter.no_result"}}</p>
+1 -1
templates/repo/migrate/gitea.tmpl
··· 21 21 <div class="inline field {{if .Err_Auth}}error{{end}}"> 22 22 <label for="auth_token">{{.locale.Tr "access_token"}}</label> 23 23 <input id="auth_token" name="auth_token" type="password" autocomplete="new-password" value="{{.auth_token}}" {{if not .auth_token}} data-need-clear="true" {{end}}> 24 - <a target="_blank" href="https://docs.gitea.io/en-us/api-usage">{{svg "octicon-question"}}</a> 24 + <a target="_blank" href="https://docs.gitea.com/development/api-usage">{{svg "octicon-question"}}</a> 25 25 </div> 26 26 27 27 {{template "repo/migrate/options" .}}
+1 -1
templates/repo/migrate/gogs.tmpl
··· 21 21 <div class="inline field {{if .Err_Auth}}error{{end}}"> 22 22 <label for="auth_token">{{.locale.Tr "access_token"}}</label> 23 23 <input id="auth_token" name="auth_token" type="password" autocomplete="new-password" value="{{.auth_token}}" {{if not .auth_token}} data-need-clear="true" {{end}}> 24 - <!-- <a target="_blank" href="https://docs.gitea.io/en-us/api-usage">{{svg "octicon-question"}}</a> --> 24 + <!-- <a target="_blank" href="https://docs.gitea.com/development/api-usage">{{svg "octicon-question"}}</a> --> 25 25 </div> 26 26 27 27 {{template "repo/migrate/options" .}}
+4 -4
templates/repo/settings/options.tmpl
··· 81 81 <div class="ui attached segment"> 82 82 {{if $newMirrorsEntirelyEnabled}} 83 83 {{$.locale.Tr "repo.settings.mirror_settings.docs"}} 84 - <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/en-us/usage/repo-mirror/#pushing-to-a-remote-repository">{{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}</a><br><br> 84 + <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.com/usage/repo-mirror#pushing-to-a-remote-repository">{{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}</a><br><br> 85 85 {{$.locale.Tr "repo.settings.mirror_settings.docs.pull_mirror_instructions"}} 86 - <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/en-us/usage/repo-mirror/#pulling-from-a-remote-repository">{{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_pull_section"}}</a><br> 86 + <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.com/usage/repo-mirror#pulling-from-a-remote-repository">{{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_pull_section"}}</a><br> 87 87 {{else if $onlyNewPushMirrorsEnabled}} 88 88 {{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_pull_mirror.instructions"}} 89 89 {{$.locale.Tr "repo.settings.mirror_settings.docs.more_information_if_disabled"}} 90 - <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/en-us/usage/repo-mirror/#pulling-from-a-remote-repository">{{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}</a><br> 90 + <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.com/usage/repo-mirror#pulling-from-a-remote-repository">{{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}</a><br> 91 91 {{else if $onlyNewPullMirrorsEnabled}} 92 92 {{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.instructions"}} 93 93 {{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.pull_mirror_warning"}} 94 94 {{$.locale.Tr "repo.settings.mirror_settings.docs.more_information_if_disabled"}} 95 - <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/en-us/usage/repo-mirror/#pulling-from-a-remote-repository">{{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}</a><br><br> 95 + <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.com/usage/repo-mirror#pulling-from-a-remote-repository">{{$.locale.Tr "repo.settings.mirror_settings.docs.doc_link_title"}}</a><br><br> 96 96 {{$.locale.Tr "repo.settings.mirror_settings.docs.disabled_push_mirror.info"}} 97 97 {{if $existingPushMirror}} 98 98 {{$.locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}}
+1 -1
templates/repo/settings/webhook/gitea.tmpl
··· 1 1 {{if eq .HookType "gitea"}} 2 - <p>{{.locale.Tr "repo.settings.add_web_hook_desc" "https://docs.gitea.io/en-us/webhooks/" (.locale.Tr "repo.settings.web_hook_name_gitea") | Str2html}}</p> 2 + <p>{{.locale.Tr "repo.settings.add_web_hook_desc" "https://docs.gitea.com/usage/webhooks" (.locale.Tr "repo.settings.web_hook_name_gitea") | Str2html}}</p> 3 3 <form class="ui form" action="{{.BaseLink}}/gitea/{{or .Webhook.ID "new"}}" method="post"> 4 4 {{template "base/disable_form_autofill"}} 5 5 {{.CsrfTokenHtml}}
+1 -1
templates/repo/settings/webhook/gogs.tmpl
··· 1 1 {{if eq .HookType "gogs"}} 2 - <p>{{.locale.Tr "repo.settings.add_web_hook_desc" "https://docs.gitea.io/en-us/webhooks/" (.locale.Tr "repo.settings.web_hook_name_gogs") | Str2html}}</p> 2 + <p>{{.locale.Tr "repo.settings.add_web_hook_desc" "https://docs.gitea.com/usage/webhooks" (.locale.Tr "repo.settings.web_hook_name_gogs") | Str2html}}</p> 3 3 <form class="ui form" action="{{.BaseLink}}/gogs/{{or .Webhook.ID "new"}}" method="post"> 4 4 {{template "base/disable_form_autofill"}} 5 5 {{.CsrfTokenHtml}}
+1 -1
templates/user/settings/packages.tmpl
··· 16 16 <button class="ui green button">{{$.locale.Tr "packages.owner.settings.chef.keypair"}}</button> 17 17 </form> 18 18 <div class="field"> 19 - <label>{{.locale.Tr "packages.registry.documentation" "Chef" "https://docs.gitea.io/en-us/usage/packages/chef/" | Safe}}</label> 19 + <label>{{.locale.Tr "packages.registry.documentation" "Chef" "https://docs.gitea.com/usage/packages/chef/" | Safe}}</label> 20 20 </div> 21 21 </div> 22 22 </div>