mirror of
https://github.com/gogs/gogs.git
synced 2025-07-13 23:58:42 +00:00
Updated Contributing Code (markdown)
parent
952d7d05fc
commit
643136298d
@ -14,12 +14,14 @@ If you have/found any concern/problem with this document, **DO NOT** create an i
|
||||
|
||||
1. Please follow the general [code convention](https://github.com/Unknwon/go-code-convention/blob/master/en-US/README.md) for Go.
|
||||
2. All `.go` files must be formatted with `gofmt` (most of Go editors should be already possible to format on save).
|
||||
3. All `.less` files must use **1 tab** as indention, and **NO** modifications to `.css` files should be done by hand, `.css` files are all generated by `.less` files.
|
||||
3. All `.less` and `.tmpl` files must use **1 tab** as indention.
|
||||
4. **NO** modifications to `.css` files should be done by hand, `.css` files are all generated by `.less` files.
|
||||
|
||||
### For UI Changes
|
||||
|
||||
1. Please attach corresponding screenshots for all representative pages that is affected by your changes.
|
||||
2. If you need to add new locale strings, you **ONLY** need to care about `conf/locale_en-US.ini` file, **DO NOT** touch all the other locales files.
|
||||
1. Please use standard [Semantic UI](http://semantic-ui.com/) classes as much as possible to avoid editing `.less` files.
|
||||
2. Please attach corresponding screenshots for all representative pages that is affected by your changes.
|
||||
3. If you need to add new locale strings, you **ONLY** need to care about `conf/locale_en-US.ini` file, **DO NOT** touch all the other locales files.
|
||||
|
||||
### Final Checks
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user