Skip to content

Commit

Permalink
docs: Automatically push Ruby docs to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Oct 8, 2015
1 parent 88cc7a5 commit e4917b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion generate_api_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
# Python
./go py_docs || exit

# Ruby
./go //rb:docs || exit

# switch to gh-pages and copy the files
git checkout gh-pages || exit
rm -rf docs/api/java docs/api/py
rm -rf docs/api/java docs/api/py docs/api/rb

mv build/javadoc docs/api/java
mv build/docs/api/py docs/api/py
mv build/docs/api/rb docs/api/rb

git add -A docs/api

Expand Down

0 comments on commit e4917b1

Please sign in to comment.