Browse Source

docs: add version dropdown and v0.34 docs(#5762)

Co-authored-by: Cyrus Goh <hello@lovincyrus.com>
pull/5763/head
Marko 4 years ago
committed by GitHub
parent
commit
4dcc9e979c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 13 deletions
  1. +18
    -11
      docs/.vuepress/config.js
  2. +3
    -2
      docs/versions

+ 18
- 11
docs/.vuepress/config.js View File

@ -21,6 +21,24 @@ module.exports = {
key: "59f0e2deb984aa9cdf2b3a5fd24ac501",
index: "tendermint"
},
versions: [
{
"label": "v0.32",
"key": "v0.32"
},
{
"label": "v0.33",
"key": "v0.33"
},
{
"label": "v0.34",
"key": "v0.34"
},
{
"label": "master",
"key": "master"
}
],
topbar: {
banner: false,
},
@ -39,17 +57,6 @@ module.exports = {
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
},
]
}
]


+ 3
- 2
docs/versions View File

@ -1,3 +1,4 @@
v0.32 v0.32
v0.32.x v0.32
cyrus/0.33-version v0.33
master master
v0.34.x v0.34
marko/docs_version master

Loading…
Cancel
Save