diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2020-06-18 11:16:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 23:16:59 -0400 |
commit | 03ba974481296b76f87cbd756e41ecf5be9d006b (patch) | |
tree | 34b1ad7c6bdb3612a5854184619db3839565c3c4 /docs/content/doc/advanced/config-cheat-sheet.en-us.md | |
parent | 6c81b738f71e46aae33424051ac3e4cffa974fed (diff) | |
download | gitea-03ba974481296b76f87cbd756e41ecf5be9d006b.tar.gz gitea-03ba974481296b76f87cbd756e41ecf5be9d006b.zip |
Rename custom/conf/app.ini.sample to custom/conf/app.example.ini for better syntax light on editor (#11926)
* Rename custom/conf/app.ini.sample to custom/conf/app.sample.ini for better syntax light on editor
* rename to app.example.ini
* per @6543 's comment, update all references on docs
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'docs/content/doc/advanced/config-cheat-sheet.en-us.md')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 13c5f987ad..96f03ad3fd 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -23,7 +23,7 @@ or any corresponding location. When installing from a distribution, this will typically be found at `/etc/gitea/conf/app.ini`. The defaults provided here are best-effort (not built automatically). They are -accurately recorded in [app.ini.sample](https://github.com/go-gitea/gitea/blob/master/custom/conf/app.ini.sample) +accurately recorded in [app.example.ini](https://github.com/go-gitea/gitea/blob/master/custom/conf/app.example.ini) (s/master/\<tag|release\>). Any string in the format `%(X)s` is a feature powered by [ini](https://github.com/go-ini/ini/#recursive-values), for reading values recursively. @@ -470,7 +470,7 @@ set name for unique queues. Individual queues will default to - `ENABLED`: **true**: Enable this to allow uploading attachments. - `PATH`: **data/attachments**: Path to store attachments. -- `ALLOWED_TYPES`: **see app.ini.sample**: Allowed MIME types, e.g. `image/jpeg|image/png`. +- `ALLOWED_TYPES`: **see app.example.ini**: Allowed MIME types, e.g. `image/jpeg|image/png`. Use `*/*` for all types. - `MAX_SIZE`: **4**: Maximum size (MB). - `MAX_FILES`: **5**: Maximum number of attachments that can be uploaded at once. |