-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use legacy v0.45 / v0.46 docs (#13)
* wip * wip * removal * fix for script + comments * small adjustment to deploy-docs * Update versions.json * Update test-deploy.yml
- Loading branch information
1 parent
a917c22
commit 34168e0
Showing
346 changed files
with
30 additions
and
43,735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,12 +34,17 @@ jobs: | |
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Build Legacy Docs | ||
run: | | ||
chmod +x build-docs.sh | ||
./build-docs.sh | ||
- name: Build | ||
run: yarn build | ||
|
||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: ~/output | ||
folder: build | ||
single-commit: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
|
||
rm -rf ./cosmos-sdk | ||
git clone https://github.com/cosmos/cosmos-sdk/ cosmos-sdk; | ||
cd cosmos-sdk/docs; | ||
|
||
while read -r branch path_prefix; do | ||
echo "building vuepress $branch docs" | ||
( | ||
git clean -fdxq && git reset --hard && git checkout $branch && npm install && | ||
VUEPRESS_BASE="/$path_prefix/" | ||
rm basics/app-anatomy.md | ||
npm run build | ||
mkdir -p "../../build/$path_prefix" | ||
|
||
cp -r .vuepress/dist/* "../../build/$path_prefix" | ||
) | ||
done < vuepress_versions |
This file was deleted.
Oops, something went wrong.
395 changes: 0 additions & 395 deletions
395
versioned_docs/version-0.45/develop/advanced-concepts/00-baseapp.md
This file was deleted.
Oops, something went wrong.
155 changes: 0 additions & 155 deletions
155
versioned_docs/version-0.45/develop/advanced-concepts/01-transactions.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.