this repository has been deprecated in favour of gooddata-ruby-doc. Please make all pull requests in that repository instead!
Examples on how to use gooddata-ruby. You can browse the cookbook by chapters, or see the whole cookbook deployed at sdk microsite.
rake build
This generates book.html
with the complete cookbook and a directory for each chapter for easy browsing on github.
You need to have write permissions to gooddata/gooddata-ruby-examples repository to do this.
rake deploy
This does rake build
and pushes the new cookbook version to the gh-pages
branch. The branch contains only one file - index.html
which is the generated cookbook. We use jekyll integrated to github to display the cookbook at url http://sdk.gooddata.com/gooddata-ruby-examples. The ruby cookbook is referenced from the main jekyll repository gooddata.github.com
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Make whatever changes you want to make in the
book_src
directory - Run
rake build
to build the cookbook, checkbook.html
if everything is OK - Commit your changes (
git commit -am 'Add some recipe'
). Include changes in the generated chapters as well. - Push the branch to your fork (
git push origin my-new-feature
) - Create a new Pull Request
- Wait until you see results of your jenkins build in the pull request comments. It should pass successfully.
- Someone will merge your changes and deploy a new cookbook version.