fix comment bug in make build-docs (#7420)

This commit is contained in:
Cory 2020-09-30 12:18:19 -07:00 committed by GitHub
parent a2c67450ec
commit 1e95292e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,6 +199,9 @@ godocs:
@echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/cosmos/cosmos-sdk/types"
godoc -http=:6060
# This builds a docs site for each branch/tag in `./docs/versions`
# and copies each site to a version prefixed path. The last entry inside
# the `versions` file will be the default root index.html.
build-docs:
@cd docs && \
while read -a p; do \
@ -207,7 +210,6 @@ build-docs:
(git checkout $${branch} && npm install && VUEPRESS_BASE="/$${path_prefix}/" npm run build) ; \
mkdir -p ~/output/$${path_prefix} ; \
cp -r .vuepress/dist/* ~/output/$${path_prefix}/ ; \
# Note: the last entry inside the `versions` file will be the default root index.html.
cp ~/output/$${path_prefix}/index.html ~/output ; \
done < versions ;