added new version to docs (#4097)

This commit is contained in:
Mircea Colonescu
2019-10-31 16:33:15 -04:00
committed by Marko
parent ad897a8f00
commit b2475227a5
2 changed files with 5 additions and 3 deletions

View File

@@ -159,9 +159,10 @@ DESTINATION = ./index.html.md
build-docs:
@cd docs && \
while read p; do \
(git checkout $${p} && npm install && VUEPRESS_BASE="/docs/$${p}/" npm run build) ; \
mkdir -p ~/output/docs/$${p} ; \
cp -r .vuepress/dist/* ~/output/docs/$${p}/ ; \
(git checkout $${p} && npm install && VUEPRESS_BASE="/$${p}/" npm run build) ; \
mkdir -p ~/output/$${p} ; \
cp -r .vuepress/dist/* ~/output/$${p}/ ; \
echo "<a href='$${p}'>$${p}</a>" >> ~/output/index.html ; \
done < versions ;
sync-docs: