Updated Contributing Code (markdown)

无闻 2016-08-15 21:51:45 -07:00
parent 3ec66b0c89
commit 1bd54b4d75

@ -22,7 +22,7 @@ Write a comment to the corresponding thread to claim you're working on it, so pe
### Coding Guidelines
1. Please follow the general [code convention](https://github.com/Unknwon/go-code-convention/blob/master/en-US/README.md) for Go and [Coding Guidelines](https://www.notion.so/Coding-Guidelines-15a29828afc34409b50e030a20120722) for Gogs.
1. Please follow the general [Go Code Convention](https://github.com/Unknwon/go-code-convention/blob/master/en-US/README.md) and [Gogs Coding Guidelines](https://www.notion.so/Coding-Guidelines-15a29828afc34409b50e030a20120722).
2. All `.go` files must be formatted with `gofmt` (most of Go editors should be already possible to format on save).
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. Normally you can achieve this by executing `make bindata`.