Gitbook rendering updates (#159)

* Add .nodoc for in-flux packages

* Start with clean-slate for re-generation

* Update with working (although manual) config
This commit is contained in:
Jaco Greeff
2018-09-19 16:14:37 +02:00
committed by GitHub
parent ef78f2a024
commit 4854379424
108 changed files with 5067 additions and 12149 deletions
+79
View File
@@ -0,0 +1,79 @@
*__example__*: ```javascript
import Api from '@polkadot/api';
import WsProvider from '@polkadot/api-provider/ws';
const provider = new WsProvider('http://127.0.0.1:9944');
const api = new Api(provider);
```
# Hierarchy
**Api**
# Implements
* `object`
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new Api**(provider: *`ProviderInterface`*): [Api](_index_.api.md)
*Defined in [index.ts:37](https://github.com/polkadot-js/api/blob/01435c1/packages/api/src/index.ts#L37)*
*__constructor__*: Default constructor for the Api Object
**Parameters:**
| Param | Type | Description |
| ------ | ------ | ------ |
| provider | `ProviderInterface` | An API provider using HTTP or WebSocket |
**Returns:** [Api](_index_.api.md)
___
# Properties
<a id="author"></a>
## author
**● author**: *[ApiInterface$Section](../modules/_types_d_.md#apiinterface_section)*
*Defined in [index.ts:34](https://github.com/polkadot-js/api/blob/01435c1/packages/api/src/index.ts#L34)*
___
<a id="chain"></a>
## chain
**● chain**: *[ApiInterface$Section](../modules/_types_d_.md#apiinterface_section)*
*Defined in [index.ts:35](https://github.com/polkadot-js/api/blob/01435c1/packages/api/src/index.ts#L35)*
___
<a id="state"></a>
## state
**● state**: *[ApiInterface$Section](../modules/_types_d_.md#apiinterface_section)*
*Defined in [index.ts:36](https://github.com/polkadot-js/api/blob/01435c1/packages/api/src/index.ts#L36)*
___
<a id="system"></a>
## system
**● system**: *[ApiInterface$Section](../modules/_types_d_.md#apiinterface_section)*
*Defined in [index.ts:37](https://github.com/polkadot-js/api/blob/01435c1/packages/api/src/index.ts#L37)*
___