Every repository with this icon (
Every repository with this icon (
tree 46fd9bf17833f428d711e3d9cdd80e945bec2f1b
parent 3671b681adb5aa52f9179ead36d45e35c26a91d3 parent 29a1dd145310a62f3db690bea88ffca5de02b550
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Dec 08 19:23:42 -0800 2008 | |
| |
README.markdown | Mon Dec 08 20:48:44 -0800 2008 | |
| |
Rakefile | Wed Dec 10 23:48:08 -0800 2008 | |
| |
app/ | Thu Dec 11 05:32:48 -0800 2008 | |
| |
autotest/ | Mon Dec 01 20:50:55 -0800 2008 | |
| |
bin/ | Mon Dec 08 05:57:37 -0800 2008 | |
| |
book-content/ | Thu Dec 11 13:26:56 -0800 2008 | |
| |
config/ | Thu Dec 11 05:32:48 -0800 2008 | |
| |
doc/ | Mon Dec 01 20:50:55 -0800 2008 | |
| |
gems/ | Mon Dec 08 11:24:52 -0800 2008 | |
| |
lib/ | Mon Dec 08 04:32:07 -0800 2008 | |
| |
log/ | Mon Dec 01 23:44:32 -0800 2008 | |
| |
merb.thor | Mon Dec 01 20:50:55 -0800 2008 | |
| |
public/ | Thu Dec 11 01:51:18 -0800 2008 | |
| |
spec/ | Fri Dec 05 13:57:52 -0800 2008 |
The Merb Open Source Book
This book is an open source book written for and by the Merb community.
Preview: http://book.merbist.com
To run the book locally, just clone this repo and start the bundled copy of Merb:
$ ./bin/merb
And open http://localhost:4000/ in your browser
Note that you might have to "redeploy" the native gems if the merb app server doesn't start:
$ ./bin/thor merb:gem:redeploy
A static HTML and a PDF version will soon be available online.
How to contribute
- Fork this project
- Modify, fix, add content
- send me a pull request
For the moment, the content of the book is located inside ./book-content/ and is organized by languages, chapters, and pages.
Chapters and pages must be lowercase and start by a digit followed by a dash and the chapter/page title without spaces or any non ascii characters.
All content files are Markdown files; the merb app uses maruku to render these files. Check the supported syntax or check ./book-content/en/1-introduction/1-ruby.markdown for a good example of how to use images, quotes, and CSS selectors.
The book supports multiple languages. Each language needs to replicate the English folder structure, using the same file names.
If you are copying a page or chapter to your language folder and want to mark a section of your text as requiring translation, just add the to-translate class to the CSS selector of your content, as shown below:
{: .to-translate}
Please follow our editor guidelines, especially:
- use a language branch (so you can see what changed in the English content)
- one sentence per line (so merging is easier)
http://groups.google.com/group/merb-book/web/guidelines
Translation leaders
- Bosnian: http://github.com/sidonath (Damir Zekić)
- Chinese: http://github.com/zhhz (Zhonghai Zuo)
- French: http://github.com/pointcom (Mathieu Fosse)
- German: http://github.com/cypher (Markus Prinz)
- Italian: http://github.com/carlopecchia (Carlo Pecchia)
- Japanese: http://github.com/kwatch (Makoto Kuwata)
- Portuguese: http://github.com/akitaonrails (Fabio Akita)
- Russian: http://github.com/cheba (Alex Mankuta)
- Spanish: (pending)
- Dutch: http://github.com/pvelder (Peter De Velder)
- Arabic http://github.com/khelll (Khaled AlHabache)
Legal
The content of this book is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 license
The source code of the application is dual licensed under the MIT and GPL licenses:








