labels and licenses are directories (#29037)

Be more explicit about custom path relative to licences and labels
content
This commit is contained in:
Km 2024-02-04 00:11:41 +01:00 committed by GitHub
parent 8def405047
commit 8e957e5f1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -312,7 +312,7 @@ receive.certNonceSeed = <randomstring>
### Labels ### 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 ```yaml
labels: labels:
@ -330,7 +330,7 @@ For more information, see the [labels documentation](usage/labels.md).
### Licenses ### 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 ### Locales