Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Commit

Permalink
Merge pull request #364 from stormpath/develop
Browse files Browse the repository at this point in the history
Ruby SDK Documentation
  • Loading branch information
Jakub Swiatczak authored Oct 27, 2016
2 parents e77f3dd + 67252d4 commit b81e659
Show file tree
Hide file tree
Showing 132 changed files with 1,462 additions and 96 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ after_success:
- test -z "$DEPLOY_DOCS" || rm -rf source/vbnet/product-guide/latest && mkdir -p source/vbnet/product-guide && cp -r ../build/html/vbnet source/vbnet/product-guide/latest
- test -z "$DEPLOY_DOCS" || rm -rf source/python/product-guide/latest && mkdir -p source/python/product-guide && cp -r ../build/html/python source/python/product-guide/latest
- test -z "$DEPLOY_DOCS" || rm -rf source/nodejs/product-guide/latest && mkdir -p source/nodejs/product-guide && cp -r ../build/html/nodejs source/nodejs/product-guide/latest
- test -z "$DEPLOY_DOCS" || rm -rf source/ruby/product-guide/latest && mkdir -p source/ruby/product-guide && cp -r ../build/html/ruby source/ruby/product-guide/latest
- test -z "$DEPLOY_DOCS" || rm source/rest/product-guide/latest/configuration.html
- test -z "$DEPLOY_DOCS" || cp source/rest/product-guide/latest/errorpage.html source/rest/product-guide/latest/configuration.html && rm -f source/rest/product-guide/latest/errorpage.html
- test -z "$DEPLOY_DOCS" || rm source/csharp/product-guide/latest/reference.html
Expand All @@ -36,6 +37,8 @@ after_success:
- test -z "$DEPLOY_DOCS" || cp source/java/product-guide/latest/errorpage.html source/java/product-guide/latest/reference.html && rm -f source/java/product-guide/latest/errorpage.html
- test -z "$DEPLOY_DOCS" || rm source/nodejs/product-guide/latest/reference.html
- test -z "$DEPLOY_DOCS" || cp source/nodejs/product-guide/latest/errorpage.html source/nodejs/product-guide/latest/reference.html && rm -f source/nodejs/product-guide/latest/errorpage.html
- test -z "$DEPLOY_DOCS" || rm source/ruby/product-guide/latest/reference.html
- test -z "$DEPLOY_DOCS" || cp source/ruby/product-guide/latest/errorpage.html source/ruby/product-guide/latest/reference.html && rm -f source/ruby/product-guide/latest/errorpage.html
- test -z "$DEPLOY_DOCS" || rm source/php/product-guide/latest/reference.html
- test -z "$DEPLOY_DOCS" || cp source/php/product-guide/latest/errorpage.html source/php/product-guide/latest/reference.html && rm -f source/php/product-guide/latest/errorpage.html
- test -z "$DEPLOY_DOCS" || rm source/python/product-guide/latest/reference.html
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = build
LANGUAGE = rest
LANGUAGES = rest php java csharp vbnet python nodejs
LANGUAGES = rest php java csharp vbnet python nodejs ruby

# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
Expand Down
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Then clone this repo.
│   ├── nodejs
│   ├── php
│   ├── python
│ ├── ruby
│   ├── template
│   └── vbnet
├── images
Expand Down Expand Up @@ -61,6 +62,7 @@ The possible values for `{name}` are:
- `vbnet`
- `python`
- `nodejs`
- `ruby`

If you would like to generate all of the Product Guides in one go, you can use the same command that Travis uses:

Expand Down Expand Up @@ -98,4 +100,4 @@ If you used the `make allhtml` command, then you can find the generated files in

All branches should be made off the [Develop](https://github.com/stormpath/stormpath-documentation/tree/develop) branch. After your changes are complete, create a PR back to Develop.

Additionally, if you are working with a task captured in a GitHub issue, please name your branch accordingly. For example: `202_account_linking`.
Additionally, if you are working with a task captured in a GitHub issue, please name your branch accordingly. For example: `202_account_linking`.
3 changes: 3 additions & 0 deletions source/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
<div class="{{ 'current' if language_slug == 'rest' }}">
<a href="/rest/product-guide/latest/{{ pagename }}{{ file_suffix}}">REST</a>
</div>
<div class="{{ 'current' if language_slug == 'ruby' }}">
<a href="/ruby/product-guide/latest/{{ pagename }}{{ file_suffix}}">Ruby</a>
</div>
<div class="{{ 'current' if language_slug == 'vbnet' }}">
<a href="/vbnet/product-guide/latest/{{ pagename }}{{ file_suffix}}">Visual Basic</a>
</div>
Expand Down
Loading

0 comments on commit b81e659

Please sign in to comment.