laconicd/docs/.vuepress/config.js
Federico Kunze d4fe9b234c
docs: vuepress setup and section titles (#311)
* vuepress

* docs: vuepress setup and TODOs

* doc scripts

* update Makefile and gitignore

* more docs updates

* gitignore

* metamask instructions

* update image

* updates

* updates from call

* docs: vuepress config and home.vue (#350)

* update uncles return (#337)

* x/evm: fix EndBlock consensus failure (#334)

* add test for sending tx w/ 21000 gas

* improve rpc transfer test

* use ctx in EndBlock

* UpdateAccounts and ClearStateObjects with passed in context

* log ethereum address on error

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>

* update Ethermint color variables

* add header and footer logo

* tweak config.js

* WIP custom homepage.vue

* add layout to docs/README

* update color variables

* add eth logo black and white

* tweak docs/README

* update logo and logo-bw svg

* bump 1.0.167

* homepage → home

* add icon-code, icon-rocket

* layout: home, remove configurable frontmatter: label, read, use

* clean up config.js

* bump 1.0.168

* fix missing comma from resolving conflicts

* update sidebar, config nav, path

* remove left whitespace on the header and footer logos

* clean up home.vue, docs/README

* update ethermint forum url in footer.links

* comment out custom true to enable searchbar in subpages

* remove external link icon for Guides

* comments, revert custom true

* clean up config.js, add specifications icon

Co-authored-by: noot <36753753+noot@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>

* final touches

Co-authored-by: Cyrus Goh <hello@lovincyrus.com>
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
2020-07-02 04:22:45 -04:00

193 lines
5.1 KiB
JavaScript

module.exports = {
theme: 'cosmos',
title: 'Ethermint Documentation',
locales: {
'/': {
lang: 'en-US'
},
},
base: process.env.VUEPRESS_BASE || '/',
themeConfig: {
repo: 'ChainSafe/ethermint',
docsRepo: 'ChainSafe/ethermint',
docsDir: 'docs',
editLinks: true,
// docs 1.0.168: custom true hides subpages searchbar
// docs 1.0.168: custom true hides hub, ibc, core sidebar footer logos
custom: true,
logo: {
src: '/logo.svg',
},
algolia: {
id: 'BH4D9OD16A',
key: 'ac317234e6a42074175369b2f42e9754',
index: 'ethermint'
},
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: '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'
}
]
}
]
},
gutter: {
title: 'Help & Support',
editLink: true,
chat: {
title: 'Developer Chat',
text: 'Chat with Ethermint developers on Discord.',
url: 'https://discordapp.com/channels/669268347736686612',
bg: 'linear-gradient(103.75deg, #1B1E36 0%, #22253F 100%)'
},
forum: {
title: 'Ethermint Developer Forum',
text: 'Join the Ethermint Developer Forum to learn more.',
url: 'https://forum.cosmos.network/',
bg: 'linear-gradient(221.79deg, #3D6B99 -1.08%, #336699 95.88%)',
logo: 'ethereum-white'
},
github: {
title: 'Found an Issue?',
text: 'Help us improve this page by suggesting edits on GitHub.',
url: 'https://github.com/ChainSafe/ethermint/edit/development/docs/README.md',
bg: '#F8F9FC'
}
},
footer: {
logo: '/logo-bw.svg',
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'
},
],
smallprint:
'This website is maintained by [ChainSafe Systems](https://chainsafe.io). The contents and opinions of this website are those of Chainsafe Systems.',
links: [
{
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: '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: '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: 'Source code on GitHub',
url: 'https://github.com/Chainsafe/ethermint/blob/development/docs/DOCS_README.md'
}
]
}
]
}
},
};