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:
@@ -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)*
|
||||
|
||||
___
|
||||
|
||||
Reference in New Issue
Block a user