algolia docsearch (#475)

This commit is contained in:
Federico Kunze 2020-08-27 17:08:42 +02:00 committed by GitHub
parent 27e5921758
commit c61e6a6b1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,9 +2,7 @@ module.exports = {
theme: 'cosmos',
title: 'Ethermint Documentation',
locales: {
'/': {
lang: 'en-US'
},
'/': {lang: 'en-US'},
},
base: process.env.VUEPRESS_BASE || '/',
themeConfig: {
@ -16,73 +14,27 @@ module.exports = {
logo: {
src: '/logo.svg',
},
// request id, key from https://docsearch.algolia.com
// algolia: {
// id: 'BH4D9OD16A',
// key: 'ac317234e6a42074175369b2f42e9754',
// index: 'ethermint'
// },
topbar: {
banner: false
},
algolia: {id: 'BH4D9OD16A', key: '70ee930283c179ccd9a74d8a31afe300', index: 'ethermint'},
topbar: {banner: false},
sidebar: {
auto: false,
nav: [
{
title: 'Reference',
children: [
{
title: 'Introduction',
directory: true,
path: '/intro'
},
{
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: 'Introduction', directory: true, path: '/intro'},
{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',
children: [
{
title: 'Ethermint API Reference',
path: 'https://godoc.org/github.com/cosmos/ethermint'
},
{
title: 'Cosmos REST API Spec',
path: 'https://cosmos.network/rpc/'
},
{
title: 'Ethereum JSON RPC API Reference',
path: 'https://eth.wiki/json-rpc/API'
}
{title: 'Ethermint API Reference', path: 'https://godoc.org/github.com/cosmos/ethermint'},
{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: {
logo: '/logo-bw.svg',
textLink: {
text: 'ethermint.zone',
url: 'https://ethermint.zone'
},
textLink: {text: 'ethermint.zone', url: 'https://ethermint.zone'},
services: [
{
service: 'github',
url: 'https://github.com/ChainSafe/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'
},
{service: 'github', url: 'https://github.com/ChainSafe/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'},
],
smallprint:
'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',
children: [
{
title: 'Cosmos SDK Docs',
url: 'https://docs.cosmos.network'
},
{
title: 'Ethermint Docs',
url: 'https://ethereum.org/developers'
},
{
title: 'Tendermint Core Docs',
url: 'https://docs.tendermint.com'
}
{title: 'Cosmos SDK Docs', url: 'https://docs.cosmos.network'},
{title: 'Ethermint Docs', url: 'https://ethereum.org/developers'},
{title: 'Tendermint Core Docs', url: 'https://docs.tendermint.com'}
]
},
{
title: 'Community',
children: [
{
title: 'Cosmos Community',
url: 'https://discord.gg/W8trcGV'
},
{
title: 'Ethermint Forum',
url: 'https://forum.cosmos.network/c/ethermint'
},
{
title: 'Chainsafe Blog',
url: 'https://medium.com/chainsafe-systems'
}
{title: 'Cosmos Community', url: 'https://discord.gg/W8trcGV'},
{title: 'Ethermint Forum', url: 'https://forum.cosmos.network/c/ethermint'},
{title: 'Chainsafe Blog', url: 'https://medium.com/chainsafe-systems'}
]
},
{
title: 'Contributing',
children: [
{
title: 'Contributing to the docs',
url: 'https://github.com/ChainSafe/ethermint/tree/development/docs'
},
{
title: 'Careers at Chainsafe',
url: 'https://chainsafe.io/#careers'
},
{
{title: 'Contributing to the docs', url: 'https://github.com/ChainSafe/ethermint/tree/development/docs'},
{title: 'Careers at Chainsafe', url: 'https://chainsafe.io/#careers'}, {
title: 'Source code on GitHub',
url: 'https://github.com/Chainsafe/ethermint/blob/development/docs/DOCS_README.md'
}