Ver código fonte

labels and licenses are directories (#29037)

Be more explicit about custom path relative to licences and labels
content
tags/v1.21.6
Km 4 meses atrás
pai
commit
8e957e5f1d
Nenhuma conta vinculada ao e-mail do autor do commit

+ 2
- 2
docs/content/administration/customizing-gitea.en-us.md Ver arquivo

@@ -312,7 +312,7 @@ receive.certNonceSeed = <randomstring>

### Labels

Starting with Gitea 1.19, you can add a file that follows the [YAML label format](https://github.com/go-gitea/gitea/blob/main/options/label/Advanced.yaml) to `$GITEA_CUSTOM/options/label`:
Starting with Gitea 1.19, you can add a file that follows the [YAML label format](https://github.com/go-gitea/gitea/blob/main/options/label/Advanced.yaml) in the directory `$GITEA_CUSTOM/options/label/`:

```yaml
labels:
@@ -330,7 +330,7 @@ For more information, see the [labels documentation](usage/labels.md).

### Licenses

To add a custom license, add a file with the license text to `$GITEA_CUSTOM/options/license`
To add a custom license, add a file with the license text in the directory `$GITEA_CUSTOM/options/license/`

### Locales


Carregando…
Cancelar
Salvar