mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 13:55:17 +00:00
added new version to docs (#4097)
This commit is contained in:
7
Makefile
7
Makefile
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user