From 643136298d5575fbf547d7676b245340a4c1ba9f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 10 Dec 2015 12:51:54 -0500 Subject: [PATCH] Updated Contributing Code (markdown) --- Contributing-Code.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Contributing-Code.md b/Contributing-Code.md index 98f160e..5bde1c4 100644 --- a/Contributing-Code.md +++ b/Contributing-Code.md @@ -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