2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
9 . /usr/local/lib/arvbox/common.sh
11 if test "$1" != "--only-deps" ; then
12 while [ ! -f $ARVADOS_CONTAINER_PATH/api.ready ]; do
17 cd /usr/src/arvados/doc
18 run_bundler --without=development
20 # Generating the Python and R docs is expensive, so for development if the file
21 # "no-sdk" exists then skip installing R stuff.
22 if [[ ! -f /usr/src/arvados/doc/no-sdk ]] ; then
23 cd /usr/src/arvados/sdk/R
24 R --quiet --vanilla --file=install_deps.R
27 if test "$1" = "--only-deps" ; then
31 cd /usr/src/arvados/doc
32 flock $GEMLOCK bundle exec rake generate baseurl=http://$localip:${services[doc]} arvados_api_host=$localip:${services[controller-ssl]} arvados_workbench_host=http://$localip