From 1e95292e0d3f0d456a4278bcb7a2c3adfb1385d4 Mon Sep 17 00:00:00 2001 From: Cory Date: Wed, 30 Sep 2020 12:18:19 -0700 Subject: [PATCH] fix comment bug in make build-docs (#7420) --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ef5c4fa89d..c8ad6bc9df 100644 --- a/Makefile +++ b/Makefile @@ -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 ;