Align with intro and links to other parts (#751)

* Align with intro and links to other parts

* Bump deps
This commit is contained in:
Jaco Greeff
2019-03-01 12:43:16 +01:00
committed by GitHub
parent bba7784b77
commit 847d5d1506
10 changed files with 76 additions and 28 deletions
+11
View File
@@ -8,8 +8,19 @@ module.exports = {
themeConfig: {
displayAllHeaders: true,
nav: [
{ text: 'Polkadot/Substrate Apps', link: 'https://polkadot.js.org/apps/' },
{ text: 'Project family', link: 'https://polkadot.js.org/' },
{
text: 'Documentation',
items: [
{ text: 'API Reference (this)', link: 'https://polkadot.js.org/api/' },
{ text: 'Utility Reference', link: 'https://polkadot.js.org/common/' },
{ text: 'UI Libs Reference', link: 'https://polkadot.js.org/ui/' },
]
},
{ text: 'GitHub', link: 'https://github.com/polkadot-js/api' }
],
search: false,
sidebar: [
{
title: 'Examples (Promise API)',
+8
View File
@@ -1 +1,9 @@
$accentColor = #fd8824
$textColor = #2c3e50
.home .hero .description,
.home .feature h2,
.home .feature p {
color: $textColor
opacity: 0.75
}
+31 -2
View File
@@ -1,6 +1,35 @@
# Polkadot Javascript API
---
home: true
heroText:
tagline:
# Bringing JavaScript to the Polkadot world.
# actionText: Repository Overview
# actionLink: /REPOS.md
features:
- title: API
details: A powerful dynamic API that allows chain interactions with transparent encoding and decoding.
- title: Substrate defaults
details: An overview of the various default methods, state entries and RPCs for Substrate-based chains.
- title: Types
details: Various type interfaces to make using returned values from API calls transparent in your code.
You can query a node and interact with the Polkadot network using Javascript. This guide describes the Polkadot Javascript API.
footer: Apache-2 Licensed | Copyright © 2017-2019 polkadot-js authors and contributors
---
## Welcome
The API provides application developers the ability to query a node and interact with the Polkadot or Substrate chains using Javascript. Here you will find documentation and examples to get you started.
::: tip Examples
In a rush and just want examples? [Jump right in](/examples/promise/) and get a handle on using the API in your projects.
:::
## Available packages
This repository split up into a number of internal packages, namely -
- [api](api/README.md) Promise and RxJS-based APIs
- [types](types/README.md) Type encoding and decoding wrappers
## The Polkadot Project