diff --git a/package.json b/package.json index d73b52c2413..a05fc2f791f 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,9 @@ "_build": "hugo --cleanDestinationDir -e dev -DFE", "_check-links": "make check-links", "_get:no": "echo SKIPPING get operation", - "_get:submodule": "set -x && git submodule update --init --recursive ${DEPTH:- --depth 1}", + "_get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 1}", "_prebuild": "npm run get:submodule", + "_prepare:docsy": "cd themes/docsy && npm install", "_serve:hugo": "hugo serve -DFE --minify", "_serve": "netlify dev -c \"npm run _serve:hugo\"", "build:preview": "set -x && npm run _build -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"", @@ -22,6 +23,7 @@ "precheck-links:all": "npm run build", "precheck-links": "npm run build", "preinstall": "npm run get:submodule", + "prepare": "npm run get:submodule && npm run _prepare:docsy", "preserve:hugo": "npm run _prebuild", "preserve": "npm run _prebuild", "serve:hugo": "npm run _serve:hugo", @@ -29,7 +31,7 @@ "test": "npm run check-links", "update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest", "update:pkg:hugo+": "npm install --save-dev autoprefixer@latest postcss@latest postcss-cli@latest", - "update:submodule": "set -x && git submodule update --remote --recursive ${DEPTH:- --depth 1}" + "update:submodule": "set -x && git submodule update --remote ${DEPTH:- --depth 1}" }, "devDependencies": { "autoprefixer": "^10.4.8", diff --git a/themes/docsy b/themes/docsy index 238b4f09042..5480532e98b 160000 --- a/themes/docsy +++ b/themes/docsy @@ -1 +1 @@ -Subproject commit 238b4f09042e53cebec5fe6a662d16883cb408d8 +Subproject commit 5480532e98b64b10a6a10dcf0098fda00be68719