algolia docsearch (#475)
This commit is contained in:
parent
27e5921758
commit
c61e6a6b1d
@ -2,9 +2,7 @@ module.exports = {
|
|||||||
theme: 'cosmos',
|
theme: 'cosmos',
|
||||||
title: 'Ethermint Documentation',
|
title: 'Ethermint Documentation',
|
||||||
locales: {
|
locales: {
|
||||||
'/': {
|
'/': {lang: 'en-US'},
|
||||||
lang: 'en-US'
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
base: process.env.VUEPRESS_BASE || '/',
|
base: process.env.VUEPRESS_BASE || '/',
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
@ -16,73 +14,27 @@ module.exports = {
|
|||||||
logo: {
|
logo: {
|
||||||
src: '/logo.svg',
|
src: '/logo.svg',
|
||||||
},
|
},
|
||||||
// request id, key from https://docsearch.algolia.com
|
algolia: {id: 'BH4D9OD16A', key: '70ee930283c179ccd9a74d8a31afe300', index: 'ethermint'},
|
||||||
// algolia: {
|
topbar: {banner: false},
|
||||||
// id: 'BH4D9OD16A',
|
|
||||||
// key: 'ac317234e6a42074175369b2f42e9754',
|
|
||||||
// index: 'ethermint'
|
|
||||||
// },
|
|
||||||
topbar: {
|
|
||||||
banner: false
|
|
||||||
},
|
|
||||||
sidebar: {
|
sidebar: {
|
||||||
auto: false,
|
auto: false,
|
||||||
nav: [
|
nav: [
|
||||||
{
|
{
|
||||||
title: 'Reference',
|
title: 'Reference',
|
||||||
children: [
|
children: [
|
||||||
{
|
{title: 'Introduction', directory: true, path: '/intro'},
|
||||||
title: 'Introduction',
|
{title: 'Quick Start', directory: true, path: '/quickstart'},
|
||||||
directory: true,
|
{title: 'Basics', directory: true, path: '/basics'},
|
||||||
path: '/intro'
|
{title: 'Core Concepts', directory: true, path: '/core'},
|
||||||
},
|
{title: 'Guides', directory: true, path: '/guides'}
|
||||||
{
|
|
||||||
title: 'Quick Start',
|
|
||||||
directory: true,
|
|
||||||
path: '/quickstart'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Basics',
|
|
||||||
directory: true,
|
|
||||||
path: '/basics'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Core Concepts',
|
|
||||||
directory: true,
|
|
||||||
path: '/core'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Guides',
|
|
||||||
directory: true,
|
|
||||||
path: '/guides'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{title: 'Specifications', children: [{title: 'Modules', directory: true, path: '/modules'}]}, {
|
||||||
title: 'Specifications',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
title: 'Modules',
|
|
||||||
directory: true,
|
|
||||||
path: '/modules'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Resources',
|
title: 'Resources',
|
||||||
children: [
|
children: [
|
||||||
{
|
{title: 'Ethermint API Reference', path: 'https://godoc.org/github.com/cosmos/ethermint'},
|
||||||
title: 'Ethermint API Reference',
|
{title: 'Cosmos REST API Spec', path: 'https://cosmos.network/rpc/'},
|
||||||
path: 'https://godoc.org/github.com/cosmos/ethermint'
|
{title: 'Ethereum JSON RPC API Reference', path: 'https://eth.wiki/json-rpc/API'}
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Cosmos REST API Spec',
|
|
||||||
path: 'https://cosmos.network/rpc/'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Ethereum JSON RPC API Reference',
|
|
||||||
path: 'https://eth.wiki/json-rpc/API'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -112,27 +64,12 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
logo: '/logo-bw.svg',
|
logo: '/logo-bw.svg',
|
||||||
textLink: {
|
textLink: {text: 'ethermint.zone', url: 'https://ethermint.zone'},
|
||||||
text: 'ethermint.zone',
|
|
||||||
url: 'https://ethermint.zone'
|
|
||||||
},
|
|
||||||
services: [
|
services: [
|
||||||
{
|
{service: 'github', url: 'https://github.com/ChainSafe/ethermint'},
|
||||||
service: 'github',
|
{service: 'twitter', url: 'https://twitter.com/chainsafeth'},
|
||||||
url: 'https://github.com/ChainSafe/ethermint'
|
{service: 'linkedin', url: 'https://www.linkedin.com/company/chainsafe-systems'},
|
||||||
},
|
{service: 'medium', url: 'https://medium.com/chainsafe-systems'},
|
||||||
{
|
|
||||||
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'
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
smallprint:
|
smallprint:
|
||||||
'This website is maintained by [ChainSafe Systems](https://chainsafe.io). The contents and opinions of this website are those of Chainsafe Systems.',
|
'This website is maintained by [ChainSafe Systems](https://chainsafe.io). The contents and opinions of this website are those of Chainsafe Systems.',
|
||||||
@ -140,49 +77,24 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
title: 'Documentation',
|
title: 'Documentation',
|
||||||
children: [
|
children: [
|
||||||
{
|
{title: 'Cosmos SDK Docs', url: 'https://docs.cosmos.network'},
|
||||||
title: 'Cosmos SDK Docs',
|
{title: 'Ethermint Docs', url: 'https://ethereum.org/developers'},
|
||||||
url: 'https://docs.cosmos.network'
|
{title: 'Tendermint Core Docs', url: 'https://docs.tendermint.com'}
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Ethermint Docs',
|
|
||||||
url: 'https://ethereum.org/developers'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Tendermint Core Docs',
|
|
||||||
url: 'https://docs.tendermint.com'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Community',
|
title: 'Community',
|
||||||
children: [
|
children: [
|
||||||
{
|
{title: 'Cosmos Community', url: 'https://discord.gg/W8trcGV'},
|
||||||
title: 'Cosmos Community',
|
{title: 'Ethermint Forum', url: 'https://forum.cosmos.network/c/ethermint'},
|
||||||
url: 'https://discord.gg/W8trcGV'
|
{title: 'Chainsafe Blog', url: 'https://medium.com/chainsafe-systems'}
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Ethermint Forum',
|
|
||||||
url: 'https://forum.cosmos.network/c/ethermint'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Chainsafe Blog',
|
|
||||||
url: 'https://medium.com/chainsafe-systems'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Contributing',
|
title: 'Contributing',
|
||||||
children: [
|
children: [
|
||||||
{
|
{title: 'Contributing to the docs', url: 'https://github.com/ChainSafe/ethermint/tree/development/docs'},
|
||||||
title: 'Contributing to the docs',
|
{title: 'Careers at Chainsafe', url: 'https://chainsafe.io/#careers'}, {
|
||||||
url: 'https://github.com/ChainSafe/ethermint/tree/development/docs'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Careers at Chainsafe',
|
|
||||||
url: 'https://chainsafe.io/#careers'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Source code on GitHub',
|
title: 'Source code on GitHub',
|
||||||
url: 'https://github.com/Chainsafe/ethermint/blob/development/docs/DOCS_README.md'
|
url: 'https://github.com/Chainsafe/ethermint/blob/development/docs/DOCS_README.md'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user