Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken links in documents #24630

Merged
merged 10 commits into from
May 10, 2023
2 changes: 1 addition & 1 deletion docs/content/doc/actions/comparison.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ The missing host will be filled with `https://gitea.com` if you don't configure
That means `uses: actions/checkout@v3` will download the action from [gitea.com/actions/checkout](https://gitea.com/actions/checkout), instead of [github.com/actions/checkout](https://github.com/actions/checkout).

As mentioned, it's configurable.
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`. See [Configuration Cheat Sheet](({{ < relref "doc/administration/config-cheat-sheet.en-us.md#actions-actions" > }})).
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`. See [Configuration Cheat Sheet]({{< relref "doc/administration/config-cheat-sheet.en-us.md#actions-actions" >}}).

### Context availability

Expand Down
8 changes: 4 additions & 4 deletions docs/content/doc/actions/quickstart.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This page will guide you through the process of using Gitea Actions.
## Set up Gitea

First of all, you need a Gitea instance.
You can follow the [documentation]({{ < relref "doc/installation/from-package.en-us.md" > }}) to set up a new instance or upgrade your existing one.
You can follow the [documentation]({{< relref "doc/installation/from-package.en-us.md" >}}) to set up a new instance or upgrade your existing one.
It doesn't matter how you install or run Gitea, as long as its version is 1.19.0 or higher.

Actions are disabled by default, so you need to add the following to the configuration file to enable it:
Expand All @@ -34,7 +34,7 @@ Actions are disabled by default, so you need to add the following to the configu
ENABLED=true
```

If you want to learn more or encounter any problems while configuring it, please refer to the [Configuration Cheat Sheet]({{ < relref "doc/administration/config-cheat-sheet.en-us.md#actions-actions" > }}).
If you want to learn more or encounter any problems while configuring it, please refer to the [Configuration Cheat Sheet]({{< relref "doc/administration/config-cheat-sheet.en-us.md#actions-actions" >}}).

### Set up runner

Expand Down Expand Up @@ -85,7 +85,7 @@ And you can see the new runner in the management page:

![view runner](/images/usage/actions/view-runner.png)

You can find more information by visiting [Act runner]({{ < relref "doc/actions/act-runner.en-us.md" > }}).
You can find more information by visiting [Act runner]({{< relref "doc/actions/act-runner.en-us.md" >}}).

### Use Actions

Expand Down Expand Up @@ -129,7 +129,7 @@ That is because Gitea Actions is designed to be compatible with GitHub Actions
Be careful, the demo file contains some emojis.
Please make sure your database supports them, especially when using MySQL.
If the charset is not `utf8mb4`, errors will occur, such as `Error 1366 (HY000): Incorrect string value: '\\xF0\\x9F\\x8E\\x89 T...' for column 'name' at row 1`.
See [Database Preparation]( {{ < relref "doc/installation/database-preparation.en-us.md#mysql" > }}) for more information.
See [Database Preparation]({{< relref "doc/installation/database-preparation.en-us.md#mysql" >}}) for more information.

Alternatively, you can remove all emojis from the demo file and try again.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/doc/development/hacking-on-gitea.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ make lint-backend

### 处理 JS 和 CSS

前端开发应遵循 [Guidelines for Frontend Development]({{ < 相关参考 "doc/development/guidelines-frontend.en-us.md" > }})
前端开发应遵循 [Guidelines for Frontend Development]({{< relref "doc/contributing/guidelines-frontend.zh-cn.md" >}})

要使用前端资源构建,请使用上面提到的“watch-frontend”目标或只构建一次:

Expand Down
2 changes: 1 addition & 1 deletion docs/content/doc/usage/push.zh-tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Push to create is a feature that allows you to push to a repository that does no

## Enabling Push To Create

In the `app.ini` file, set `ENABLE_PUSH_CREATE_USER` to `true` and `ENABLE_PUSH_CREATE_ORG` to `true` if you want to allow users to create repositories in their own user account and in organizations they are a member of respectively. Restart Gitea for the changes to take effect. You can read more about these two options in the [Configuration Cheat Sheet]({{ < relref "doc/administration/config-cheat-sheet.zh-tw.md#repository-repository" > }}).
In the `app.ini` file, set `ENABLE_PUSH_CREATE_USER` to `true` and `ENABLE_PUSH_CREATE_ORG` to `true` if you want to allow users to create repositories in their own user account and in organizations they are a member of respectively. Restart Gitea for the changes to take effect. You can read more about these two options in the [Configuration Cheat Sheet]({{< relref "doc/administration/config-cheat-sheet.zh-tw.md#repository-repository" >}}).

## Using Push To Create

Expand Down