Skip to content

Commit e4917b1

Browse files
committed
docs: Automatically push Ruby docs to gh-pages
1 parent 88cc7a5 commit e4917b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

generate_api_docs.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44
# Python
55
./go py_docs || exit
66

7+
# Ruby
8+
./go //rb:docs || exit
79

810
# switch to gh-pages and copy the files
911
git checkout gh-pages || exit
10-
rm -rf docs/api/java docs/api/py
12+
rm -rf docs/api/java docs/api/py docs/api/rb
1113

1214
mv build/javadoc docs/api/java
1315
mv build/docs/api/py docs/api/py
16+
mv build/docs/api/rb docs/api/rb
1417

1518
git add -A docs/api
1619

0 commit comments

Comments
 (0)