From ee80f10cc66cf8b4fb5c80bf6ea39d1c3a8fbc6b Mon Sep 17 00:00:00 2001 From: Cyrus Goh Date: Mon, 5 Oct 2020 06:38:38 -0700 Subject: [PATCH] =?UTF-8?q?docs:=20docs-staging=20=E2=86=92=20master=20(#7?= =?UTF-8?q?446)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix package-lock * Fix package-lock * update package-lock * bump docs theme to 1.0.171 * Fix typo, chinese character in URL * update dead doc links * bump docs theme to 1.0.172 * [favicons] add favicons * makefile: change build-docs target for shells other than bash Co-authored-by: Denis Fadeev Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: vms Co-authored-by: Helder Moreira Co-authored-by: Amaury Martiny Co-authored-by: Alessio Treglia --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1be4f1e7e..0c6951c9b 100644 --- a/Makefile +++ b/Makefile @@ -194,9 +194,7 @@ godocs: # the `versions` file will be the default root index.html. build-docs: @cd docs && \ - while read -a p; do \ - branch=$${p[0]} ; \ - path_prefix=$${p[1]} ; \ + while read -r branch path_prefix; do \ (git checkout $${branch} && npm install && VUEPRESS_BASE="/$${path_prefix}/" npm run build) ; \ mkdir -p ~/output/$${path_prefix} ; \ cp -r .vuepress/dist/* ~/output/$${path_prefix}/ ; \