Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

added guidelines #276

Benjamin59c5f6e4a0f8
diff --git a/doc/style_guide.md b/doc/style_guide.md
index c04dac866..1024a5b30 100644
--- a/doc/style_guide.md
+++ b/doc/style_guide.md
@@ -1,15 +1,16 @@
-# Style Guide
+# Developer Guide
This document is an attempt to normalize the code.
-## General
-
-* Indent 4 spaces
-
-
-
## JavaScript
-* Keep variable declaration at the top of the block
+
+* Functions should be pure when possible; pass paramaters that are used to return a result
+```
+function getWordArray(str) {
+ return str.split(' ');
+}
+```
+* Keep variable declaration at the top of the scope to be a more literal representation of where variables are declared
```
function varDeclare() {
var all, variables, here;
@@ -21,3 +22,33 @@ function varDeclare() {
` var $element = $('#some_element');`
* Use camelback notation
` var camelBack = 'First world lowercase, following words uppercase';`
+
+## Contributing
+
+* Fork a version of Worldview
+* Create a new branch that is in synce with the branch you would like to contribute to.
+* It an issue does not already exist, file a new issue on GitHub related to the feature, bug, or improvement that you would like to work on
+
+### Commits
+
+* Make small commits that make your changes
+* Commit messages should clearly portray what was worked on while referencing the issue it addresses
+
+Example
+
+```
+One line commit header that references an issue #101
+
+The paragraphs following the header are used to better describe what
+is being done in the commit.
+```
+
+### Pull Request
+
+* when you submit a pull request you should make sure that there are no conflicts
+* Upon submission of a pull request, a member or members of the Worldview development team will review the code.
+* The request will then either be merged, declined, or an adjustment to the code will be requested.
+
+## Deployment
+
+Deployment is