diff --git a/Makefile b/Makefile
index d24b4acc2..46abb868a 100644
--- a/Makefile
+++ b/Makefile
@@ -169,7 +169,7 @@ DESTINATION = ./index.html.md
build-docs:
cd docs && \
while read p; do \
- (git checkout $${p} && npm install && VUEPRESS_BASE="/$${p}/" npm run build) ; \
+ (git checkout $${p} . && npm install && VUEPRESS_BASE="/$${p}/" npm run build) ; \
mkdir -p ~/output/$${p} ; \
cp -r .vuepress/dist/* ~/output/$${p}/ ; \
cp ~/output/$${p}/index.html ~/output ; \
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 10acbdd28..d09787489 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -1,6 +1,6 @@
module.exports = {
- theme: "cosmos",
- title: "Tendermint Core",
+ theme: 'cosmos',
+ title: 'Tendermint Core',
// locales: {
// "/": {
// lang: "en-US"
@@ -11,11 +11,11 @@ module.exports = {
// },
base: process.env.VUEPRESS_BASE,
themeConfig: {
- repo: "tendermint/tendermint",
- docsRepo: "tendermint/tendermint",
- docsDir: "docs",
+ repo: 'tendermint/tendermint',
+ docsRepo: 'tendermint/tendermint',
+ docsDir: 'docs',
editLinks: true,
- label: "core",
+ label: 'core',
topbar: {
banner: false,
},
@@ -23,114 +23,125 @@ module.exports = {
auto: true,
nav: [
{
- title: "Resources",
+ title: 'Resources',
children: [
{
- title: "Developer Sessions",
- path: "/DEV_SESSIONS.html"
+ title: 'Developer Sessions',
+ path: '/DEV_SESSIONS.html'
},
{
- title: "RPC",
- path: "https://docs.tendermint.com/master/rpc/",
+ title: 'RPC',
+ path: 'https://docs.tendermint.com/master/rpc/',
static: true
- }
+ },
+ // TODO: remove once https://github.com/cosmos/vuepress-theme-cosmos/issues/91 is closed
+ {
+ title: 'Version 0.32',
+ path: '/v0.32',
+ static: true
+ },
+ {
+ title: 'Version 0.33',
+ path: '/v0.33',
+ static: true
+ },
]
}
]
},
gutter: {
- title: "Help & Support",
+ title: 'Help & Support',
editLink: true,
forum: {
- title: "Tendermint Forum",
- text: "Join the Tendermint forum to learn more",
- url: "https://forum.cosmos.network/c/tendermint",
- bg: "#0B7E0B",
- logo: "tendermint"
+ title: 'Tendermint Forum',
+ text: 'Join the Tendermint forum to learn more',
+ url: 'https://forum.cosmos.network/c/tendermint',
+ bg: '#0B7E0B',
+ logo: 'tendermint'
},
github: {
- title: "Found an Issue?",
- text: "Help us improve this page by suggesting edits on GitHub."
+ title: 'Found an Issue?',
+ text: 'Help us improve this page by suggesting edits on GitHub.'
}
},
footer: {
question: {
- text: "Chat with Tendermint developers in Discord or reach out on the Tendermint Forum to learn more."
+ text: 'Chat with Tendermint developers in Discord or reach out on the Tendermint Forum to learn more.'
},
- logo: "/logo-bw.svg",
+ logo: '/logo-bw.svg',
textLink: {
- text: "tendermint.com",
- url: "https://tendermint.com"
+ text: 'tendermint.com',
+ url: 'https://tendermint.com'
},
services: [
{
- service: "medium",
- url: "https://medium.com/@tendermint"
+ service: 'medium',
+ url: 'https://medium.com/@tendermint'
},
{
- service: "twitter",
- url: "https://twitter.com/tendermint_team"
+ service: 'twitter',
+ url: 'https://twitter.com/tendermint_team'
},
{
- service: "linkedin",
- url: "https://www.linkedin.com/company/tendermint/"
+ service: 'linkedin',
+ url: 'https://www.linkedin.com/company/tendermint/'
},
{
- service: "reddit",
- url: "https://reddit.com/r/cosmosnetwork"
+ service: 'reddit',
+ url: 'https://reddit.com/r/cosmosnetwork'
},
{
- service: "telegram",
- url: "https://t.me/cosmosproject"
+ service: 'telegram',
+ url: 'https://t.me/cosmosproject'
},
{
- service: "youtube",
- url: "https://www.youtube.com/c/CosmosProject"
+ service: 'youtube',
+ url: 'https://www.youtube.com/c/CosmosProject'
}
],
smallprint:
- "The development of the Tendermint project is led primarily by Tendermint Inc., the for-profit entity which also maintains this website. Funding for this development comes primarily from the Interchain Foundation, a Swiss non-profit.",
+ 'The development of the Tendermint project is led primarily by Tendermint Inc., the for-profit entity which also maintains this website. Funding for this development comes primarily from the Interchain Foundation, a Swiss non-profit.',
links: [
{
- title: "Documentation",
+ title: 'Documentation',
children: [
{
- title: "Cosmos SDK",
- url: "https://docs.cosmos.network"
+ title: 'Cosmos SDK',
+ url: 'https://docs.cosmos.network'
},
{
- title: "Cosmos Hub",
- url: "https://hub.cosmos.network"
+ title: 'Cosmos Hub',
+ url: 'https://hub.cosmos.network'
}
]
},
{
- title: "Community",
+ title: 'Community',
children: [
{
- title: "Tendermint blog",
- url: "https://medium.com/@tendermint"
+ title: 'Tendermint blog',
+ url: 'https://medium.com/@tendermint'
},
{
- title: "Forum",
- url: "https://forum.cosmos.network/c/tendermint"
+ title: 'Forum',
+ url: 'https://forum.cosmos.network/c/tendermint'
}
]
},
{
- title: "Contributing",
+ title: 'Contributing',
children: [
{
- title: "Contributing to the docs",
- url: "https://github.com/tendermint/tendermint"
+ title: 'Contributing to the docs',
+ url: 'https://github.com/tendermint/tendermint'
},
{
- title: "Source code on GitHub",
- url: "https://github.com/tendermint/tendermint"
+ title: 'Source code on GitHub',
+ url: 'https://github.com/tendermint/tendermint'
},
{
- title: "Careers at Tendermint",
- url: "https://tendermint.com/careers"
+ title: 'Careers at Tendermint',
+ url: 'https://tendermint.com/careers'
}
]
}
@@ -139,9 +150,9 @@ module.exports = {
},
plugins: [
[
- "@vuepress/google-analytics",
+ '@vuepress/google-analytics',
{
- ga: "UA-51029217-11"
+ ga: 'UA-51029217-11'
}
]
],
diff --git a/docs/versions b/docs/versions
index 1f7391f92..1e6a12928 100644
--- a/docs/versions
+++ b/docs/versions
@@ -1 +1,3 @@
+v0.32
+v0.33
master