|
@ -192,7 +192,7 @@ DESTINATION = ./index.html.md |
|
|
###############################################################################
|
|
|
###############################################################################
|
|
|
### Documentation ###
|
|
|
### Documentation ###
|
|
|
###############################################################################
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
|
|
|
|
# todo remove once tendermint.com DNS is solved
|
|
|
build-docs: |
|
|
build-docs: |
|
|
@cd docs && \
|
|
|
@cd docs && \
|
|
|
while read -r branch path_prefix; do \
|
|
|
while read -r branch path_prefix; do \
|
|
@ -203,6 +203,17 @@ build-docs: |
|
|
done < versions ; |
|
|
done < versions ; |
|
|
.PHONY: build-docs |
|
|
.PHONY: build-docs |
|
|
|
|
|
|
|
|
|
|
|
build-gh-docs: |
|
|
|
|
|
@cd docs && \
|
|
|
|
|
|
while read -r branch path_prefix; do \
|
|
|
|
|
|
(git checkout $${branch} && npm install && VUEPRESS_BASE="/tendermint/$${path_prefix}/" npm run build) ; \
|
|
|
|
|
|
mkdir -p ~/output/$${path_prefix} ; \
|
|
|
|
|
|
cp -r .vuepress/dist/* ~/output/$${path_prefix}/ ; \
|
|
|
|
|
|
cp ~/output/$${path_prefix}/index.html ~/output ; \
|
|
|
|
|
|
done < versions ; |
|
|
|
|
|
.PHONY: build-docs |
|
|
|
|
|
|
|
|
|
|
|
# todo remove once tendermint.com DNS is solved
|
|
|
sync-docs: |
|
|
sync-docs: |
|
|
cd ~/output && \
|
|
|
cd ~/output && \
|
|
|
echo "role_arn = ${DEPLOYMENT_ROLE_ARN}" >> /root/.aws/config ; \
|
|
|
echo "role_arn = ${DEPLOYMENT_ROLE_ARN}" >> /root/.aws/config ; \
|
|
|