From c899d74f9522da222d4e2a0db73097456b6cd648 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Sat, 10 Apr 2021 07:49:26 +0300 Subject: [PATCH] Fix documentation building in image --- builder/image-ros.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/image-ros.sh b/builder/image-ros.sh index ef45584f..d565f6cc 100755 --- a/builder/image-ros.sh +++ b/builder/image-ros.sh @@ -122,6 +122,7 @@ rm -rf build # remove build artifacts echo_stamp "Build Clover documentation" cd /home/pi/catkin_ws/src/clover NPM_CONFIG_UNSAFE_PERM=true npm install gitbook-cli -g +NPM_CONFIG_UNSAFE_PERM=true gitbook fetch 3.2.3 && npm i npm@3.10.10 --prefix=~/.gitbook/versions/3.2.3/ # fixing https://travis-ci.org/github/CopterExpress/clover/jobs/766541125#L932 NPM_CONFIG_UNSAFE_PERM=true gitbook install gitbook build touch node_modules/CATKIN_IGNORE docs/CATKIN_IGNORE _book/CATKIN_IGNORE clover/www/CATKIN_IGNORE apps/CATKIN_IGNORE # ignore documentation files by catkin