Add pdoc to arvbox, refs #20853
authorPeter Amstutz <peter.amstutz@curii.com>
Fri, 18 Aug 2023 20:41:19 +0000 (16:41 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Fri, 18 Aug 2023 20:41:19 +0000 (16:41 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

tools/arvbox/lib/arvbox/docker/service/doc/run-service

index e9092f37022c7020e376fbb4f6c95b07e1af0804..c40e1175edbe9e55326109cb666c630c4eda621e 100755 (executable)
@@ -17,11 +17,14 @@ fi
 cd /usr/src/arvados/doc
 run_bundler --without=development
 
-# Generating the R docs is expensive, so for development if the file
-# "no-sdk" exists then skip the R stuff.
+# Generating the Python and R docs is expensive, so for development if the file
+# "no-sdk" exists then skip the Python and R stuff.
 if [[ ! -f /usr/src/arvados/doc/no-sdk ]] ; then
     cd /usr/src/arvados/sdk/R
     R --quiet --vanilla --file=install_deps.R
+
+    export PYCMD=python3
+    pip_install pdoc
 fi
 
 if test "$1" = "--only-deps" ; then