CONTRIBUTING.md 2.9 KB
Newer Older
1 2 3 4 5 6
# Contribute to the lists
Hello dear friend, welcome!
This guide details how to contribute to this repository.


## Contributor license agreement
7
By submitting code you agree to the [LICENSE](https://github.com/vhf/free-programming-books/blob/master/LICENSE) of this repository.
8 9


10 11 12 13 14 15 16 17
## All the steps you need
1. First of all, what you want to add should be actually 'Free'. Don't mistake "An easy link to Download a book" with "Free".
2. If you don't know how to work with git or github, just simply go to [Wiki: Contribution](https://github.com/vhf/free-programming-books/wiki/Contribution) and read the rest.
3. We have 3 kinds of lists. Make sure you know where you're adding the link:
    
    + **Books** : PDF, HTML, DJVU, ePub, a gitBook.io based site, a Git repo, etc.
    + **Courses** : A course is a well designed learning material which was made by an organized group and is availabe for a long time where there is no interactive tool embeded in the site. e.g.: [OpenCourseWare](http://ocw.mit.edu/), [PHPAcademy](https://phpacademy.org), etc.
    + **Interactive Tutorials** : An application which helps you learn, by actually typing syntax. e.g.: [Codecademy](http://www.codecademy.com/), [Try Github](http://try.github.io/), etc.
18

19 20 21
4. We prefer small commits rather than one large commit in a pull request. If you don't have the time to make small commit, add an issue with all the links included and we'll add them for you.
5. Use our standard for formatting the .md file. Check it out: [Formatting](#formatting)
6. Please try to use alphabetic order.
22 23 24


### Formatting
M
Mohammad Hossein Mojtahedi 已提交
25
+ All lists are `.md` files. Try to learn Github's Markdown syntax. It's simple!
26
+ All the lists start with an Index, the idea is to show all of sections and subsections there, so it's important to have an index for each section. Right now it's alphabetized, so please use alphabetic order.
M
Mohammad Hossein Mojtahedi 已提交
27
+ Sections are using level 3 heading (in HTML is `<h3>`, in Markdown is `###`), and subsections are using level 4 (in HTML is `<h4>`, in Markdown is `####`).
28 29

The idea is to have
M
Mohammad Hossein Mojtahedi 已提交
30 31 32 33
+ `2` empty lines between last suggested book & new header
+ `0` empty line between header & first book of that very section.
+ `0` empty line between each book in 1 section.
+ `1` empty line at the end of each `.md` file.
34 35

Like this example:
M
Mohammad Hossein Mojtahedi 已提交
36
```markdown
37 38 39 40 41 42 43 44
[...]
* [Essential Pascal Version 1 and 2](http://www.marcocantu.com/epascal/)


###DTrace
* [IllumOS Dynamic Tracing Guide](http://dtrace.org/guide/preface.html)
* [Some Other Book](http://so.me/other/book.html)

45 46 47 48 49
BAD : * [IllumOS Dynamic Tracing Guide](http://dtrace.org/guide/preface.html)(PDF)
GOOD: * [IllumOS Dynamic Tracing Guide](http://dtrace.org/guide/preface.html) (PDF)

BAD : * [IllumOS Dynamic Tracing Guide](http://dtrace.org/guide/preface.html)- Robert
GOOD: * [IllumOS Dynamic Tracing Guide](http://dtrace.org/guide/preface.html) - Robert
50

51 52
```

53

54 55
And that's it! Simple, easy and lovely...

B
borgified 已提交
56
We hope you contribute to this great repository. :+1: