Align docs with main site (and link to others) (#343)

* Align docs with main site (and link to others)

* Add project family link
This commit is contained in:
Jaco Greeff
2019-03-01 12:09:39 +01:00
committed by GitHub
parent d7854a2081
commit 179aa8498c
3 changed files with 46 additions and 3 deletions
+13 -2
View File
@@ -1,15 +1,26 @@
module.exports = {
base: '/common/',
title: 'polkadot-js/common',
description: 'Utilities and libraries in-use accross @polkadot projects',
description: 'Common utilities and libraries that are in use accross all @polkadot projects',
markdown: {
lineNumbers: true
},
themeConfig: {
displayAllHeaders: true,
nav: [
{ text: 'GitHub', link: 'https://github.com/polkadot-js/common' }
{ text: 'Polkadot/Substrate Apps', link: 'https://polkadot.js.org/apps/' },
{ text: 'Project family', link: 'https://polkadot.js.org/' },
{
text: 'Documentation',
items: [
{ text: 'API Reference', link: 'https://polkadot.js.org/api/' },
{ text: 'Utility Reference (this)', link: 'https://polkadot.js.org/common/' },
{ text: 'UI Libs Reference', link: 'https://polkadot.js.org/ui/' },
]
},
{ text: 'GitHub Repo', link: 'https://github.com/polkadot-js/common' }
],
search: false,
sidebar: [
{
title: 'Examples (keyring)',
+8
View File
@@ -1 +1,9 @@
$accentColor = #fd8824
$textColor = #2c3e50
.home .hero .description,
.home .feature h2,
.home .feature p {
color: $textColor
opacity: 0.75
}