build: deploy docs to GitHub Pages (#116)

* build: deploy docs to GitHub Pages

* versioning

* try fix

* fix swagger docs

* fix docs build
This commit is contained in:
Federico Kunze
2021-06-12 12:27:10 -04:00
committed by GitHub
parent 5fe785e917
commit f762087d36
14 changed files with 24466 additions and 935 deletions
+20 -33
View File
@@ -8,9 +8,9 @@ module.exports = {
},
base: process.env.VUEPRESS_BASE || '/',
themeConfig: {
repo: 'cosmos/ethermint',
docsRepo: 'cosmos/ethermint',
docsBranch: 'development',
repo: 'tharsis/ethermint',
docsRepo: 'tharsis/ethermint',
docsBranch: 'main',
docsDir: 'docs',
editLinks: true,
custom: true,
@@ -67,7 +67,7 @@ module.exports = {
title: 'Resources',
children: [{
title: 'Ethermint API Reference',
path: 'https://godoc.org/github.com/cosmos/ethermint'
path: 'https://godoc.org/github.com/tharsis/ethermint'
},
{
title: 'Cosmos REST API Spec',
@@ -105,27 +105,15 @@ module.exports = {
footer: {
logo: '/logo-bw.svg',
textLink: {
text: 'ethermint.zone',
url: 'https://ethermint.zone'
text: 'tharsis.finance/ethermint',
url: 'https://tharsis.finance/ethermint'
},
services: [{
service: 'github',
url: 'https://github.com/cosmos/ethermint'
},
{
service: 'twitter',
url: 'https://twitter.com/chainsafeth'
},
{
service: 'linkedin',
url: 'https://www.linkedin.com/company/chainsafe-systems'
},
{
service: 'medium',
url: 'https://medium.com/chainsafe-systems'
},
url: 'https://github.com/tharsis/ethermint'
}
],
smallprint: 'This website is maintained by [ChainSafe Systems](https://chainsafe.io). The contents and opinions of this website are those of ChainSafe Systems.',
smallprint: 'This website is maintained by Tharsis.',
links: [{
title: 'Documentation',
children: [{
@@ -133,7 +121,7 @@ module.exports = {
url: 'https://docs.cosmos.network'
},
{
title: 'Ethermint Docs',
title: 'Ethereum Docs',
url: 'https://ethereum.org/developers'
},
{
@@ -151,10 +139,6 @@ module.exports = {
{
title: 'Ethermint Forum',
url: 'https://forum.cosmos.network/c/ethermint'
},
{
title: 'ChainSafe Blog',
url: 'https://medium.com/chainsafe-systems'
}
]
},
@@ -162,18 +146,21 @@ module.exports = {
title: 'Contributing',
children: [{
title: 'Contributing to the docs',
url: 'https://github.com/cosmos/ethermint/tree/development/docs'
url: 'https://github.com/tharsis/ethermint/tree/development/docs'
},
{
title: 'Careers at ChainSafe',
url: 'https://chainsafe.io/#careers'
}, {
title: 'Source code on GitHub',
url: 'https://github.com/cosmos/ethermint/blob/development/docs/DOCS_README.md'
url: 'https://github.com/tharsis/ethermint/blob/development/docs/DOCS_README.md'
}
]
}
]
}
},
},
versions: [
{
"label": "main",
"key": "main"
}
],
}
};
+2 -2
View File
@@ -2,9 +2,9 @@
order: 5
-->
# Joining Chainsafe's Public Testnet
# JoiningTestnet
This document outlines the steps to join the public testnet hosted by [Chainsafe](https://chainsafe.io).
This document outlines the steps to join the public testnet
## Steps
-4
View File
@@ -36,10 +36,6 @@ Note: most of these articles are outdated as they refer to the previous Ethermin
- [Introducing the Hard Spoon - Chjango Unchained](https://blog.cosmos.network/introducing-the-hard-spoon-4a9288d3f0df)
- [Ethermint and NFTs at EthDenver - Tendermint](https://blog.cosmos.network/ethermint-nfts-at-ethdenver-bf32766835b6)
### ChainSafe Blog
- [ChainSafe Awarded Second Ethermint Grant](https://medium.com/chainsafe-systems/chainsafe-awarded-second-ethermint-grant-f65930309cae)
## Previous Ethermint implementations
- [Ethermint ABCI:](https://github.com/cosmos/ethermint_abci) This project was the first and original Tendermint ABCI application with EVM support. Not built with Cosmos SDK.
+23391
View File
File diff suppressed because it is too large Load Diff
+5 -4
View File
@@ -5,10 +5,10 @@
"main": "index.js",
"scripts": {
"preserve": "./pre.sh",
"serve": "trap 'exit 0' SIGINT; vuepress dev --no-cache",
"serve": "vuepress dev",
"build": "vuepress build",
"postserve": "./post.sh",
"prebuild": "./pre.sh",
"build": "trap 'exit 0' SIGINT; vuepress build --no-cache",
"postbuild": "./post.sh"
},
"keywords": [
@@ -18,11 +18,12 @@
"blockchain",
"cryptocurrency"
],
"author": "ChainSafe Systems",
"author": "Tharsis",
"license": "ISC",
"dependencies": {
"entities": "^2.0.3",
"vuepress-theme-cosmos": "^1.0.172"
"markdown-it": "^12.0.6",
"vuepress-theme-cosmos": "^1.0.182"
},
"devDependencies": {
"watchpack": "^1.7.2"
+1 -1
View File
@@ -9,4 +9,4 @@ for D in ../x/*; do
fi
done
cat ../x/README.md | sed 's/\.\/x/\/x/g' | sed 's/spec\/README.md//g'
cat ../x/README.md | sed 's/\.\/x/\/modules/g' | sed 's/spec\/README.md//g' | sed 's/\.\.\/docs\/building-modules\/README\.md/\/building-modules\/intro\.html/g' > ./modules/README.md
+1 -1
View File
@@ -115,7 +115,7 @@ The command above command will run containers in the background using Docker co
```bash
...
Creating network "chainsafe-ethermint_localnet" with driver "bridge"
Creating network "ethermint_localnet" with driver "bridge"
Creating ethermintdnode0 ... done
Creating ethermintdnode2 ... done
Creating ethermintdnode1 ... done
+1
View File
@@ -0,0 +1 @@
main main
+955 -854
View File
File diff suppressed because it is too large Load Diff