Skip to content

Commit

Permalink
fix comment bug in make build-docs (cosmos#7420)
Browse files Browse the repository at this point in the history
  • Loading branch information
clevinson authored Sep 30, 2020
1 parent a2c6745 commit 1e95292
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 ;

Expand Down

0 comments on commit 1e95292

Please sign in to comment.