docs: add 0.47 to docs (#13852)
This commit is contained in:
@@ -185,24 +185,8 @@ godocs:
|
||||
@echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/cosmos/cosmos-sdk/types"
|
||||
godoc -http=:6060
|
||||
|
||||
# This builds the docs.cosmos.network docs using docusaurus.
|
||||
# Old documentation, which have not been migrated to docusaurus are generated with vuepress.
|
||||
build-docs:
|
||||
@echo "building docusaurus docs"
|
||||
@cd docs && npm ci && npm run build
|
||||
mv docs/build ~/output
|
||||
|
||||
@echo "building old docs"
|
||||
@cd docs && \
|
||||
while read -r branch path_prefix; do \
|
||||
echo "building vuepress $${branch} docs" ; \
|
||||
(git clean -fdx && git reset --hard && git checkout $${branch} && npm install && VUEPRESS_BASE="/$${path_prefix}/" npm run build) ; \
|
||||
mkdir -p ~/output/$${path_prefix} ; \
|
||||
cp -r .vuepress/dist/* ~/output/$${path_prefix}/ ; \
|
||||
done < vuepress_versions ;
|
||||
|
||||
@echo "setup domain"
|
||||
@echo $(DOCS_DOMAIN) > ~/output/CNAME
|
||||
@cd docs && sh ./build-all.sh
|
||||
|
||||
.PHONY: build-docs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user