We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ec33f3 commit 0c8ea80Copy full SHA for 0c8ea80
build_docs/linuxdocs.sh
@@ -224,9 +224,13 @@ if [ "$skippackagesoption" != "yes" ]; then
224
export PATH="$NVM_DIR/versions/node/v${NODE_VERSION}/bin/:${PATH}"
225
node --version
226
npm --version
227
- npm install gulp-cli@2.3.0
228
- if grep -r mermaid "$BOOST_SRC_FOLDER/doc/"; then
229
- npm install @mermaid-js/mermaid-cli@10.5.1
+ if ! which gulp; then
+ npm install -g gulp-cli@2.3.0
+ fi
230
+ if ! which mmdc; then
231
+ if grep -r mermaid "$BOOST_SRC_FOLDER/doc/"; then
232
+ npm install -g @mermaid-js/mermaid-cli@10.5.1
233
234
fi
235
236
0 commit comments