File tree 2 files changed +4
-7
lines changed 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 10
10
tox -c py/tox.ini -e docs || exit
11
11
;;
12
12
rb)
13
- cd rb || exit
14
- bundle install || exit
15
- cd ..
16
13
bazel run //rb:docs || exit
17
- git checkout rb/Gemfile.lock || true
18
14
;;
19
15
* )
20
16
echo " Selenium API docs generation"
45
41
;;
46
42
rb)
47
43
rm -rf docs/api/rb
48
- mv bazel-bin/rb/ docs.runfiles/selenium/docs/api/rb docs/api/rb
44
+ mv " $( bazel cquery --output=files //rb: docs 2> /dev/null ) .runfiles/selenium/docs/api/rb" docs/api/rb
49
45
;;
50
46
* )
51
47
echo " ERROR: unknown parameter \" $API_DOCS_LANGUAGE \" "
Original file line number Diff line number Diff line change @@ -666,9 +666,10 @@ rb_binary(
666
666
"README.md" ,
667
667
]),
668
668
args = [
669
- "--output_dir=docs/api/rb" ,
669
+ "doc" ,
670
+ "--output-dir=docs/api/rb" ,
670
671
"--readme=rb/README.md" ,
671
- "rb/lib/**/*.rb " ,
672
+ "rb/lib" ,
672
673
"rb/CHANGES" ,
673
674
"rb/README.md" ,
674
675
],
You can’t perform that action at this time.
0 commit comments