Pull in vuepress foir docs (as opposed to gitbook) (#742)

* Pull in latest @polkadot/dev, cleanup existing *.html

* Cleanups (old gitbook interfaces)

* Bump, WIP

* Ready for testing

* Update examples

* Include source

* Cleanup links

* Adjust links

* Add typedoc exclusions

* Default classes from class files

* Adjust imports

* Adjust config

* Re-add types split

* Update links to substrate interfaces

* Anchors for metadata

* Adjust links

* Restore HTML (to be deleted on CI)

* Bump deps

* Re-gen yarn.lock

* Remove a in links

* Adjust interfaces
This commit is contained in:
Jaco Greeff
2019-02-26 15:21:39 +01:00
committed by GitHub
parent 879fa28d0d
commit b313614935
104 changed files with 5510 additions and 7085 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
The following example shows how to instantiate a Polkadot API object and use it to connect to a node using ApiRx.
[include](index.js)
<<< @/docs/examples/rx/01_simple_connect/index.js
@@ -6,4 +6,4 @@ It displays the block number every time a new block is seen by the node you are
NOTE: The example runs until you stop it with CTRL+C
[include](index.js)
<<< @/docs/examples/rx/02_listen_to_blocks/index.js
@@ -2,4 +2,4 @@
This example shows how to instantiate a Polkadot API object and use it to connect to a node and retrieve balance updates.
[include](index.js)
<<< @/docs/examples/rx/03_listent_to_balance_change/index.js
+1 -1
View File
@@ -4,4 +4,4 @@ This example shows how to subscribe to and later unsubscribe from listening to b
In this example we're calling the built-in unsubscribe() function after a timeOut of 20s to cleanup and unsubscribe from listening to updates.
[include](index.js)
<<< @/docs/examples/rx/04_unsubscribe/index.js
+1 -1
View File
@@ -2,4 +2,4 @@
Many important variables are available through the storage API. This example shows how to call a few of those APIs.
[include](index.js)
<<< @/docs/examples/rx/05_read_storage/index.js
+1 -1
View File
@@ -2,4 +2,4 @@
This sample shows how to create a transaction to make a transfer from one an account to another.
[include](index.js)
<<< @/docs/examples/rx/06_make_transfer/index.js
+1 -1
View File
@@ -2,4 +2,4 @@
Query the system events and extract information from them. This example runs until exited via Ctrl-C
[include](index.js)
<<< @/docs/examples/rx/08_system_events/index.js
@@ -2,4 +2,4 @@
Display the events that occur during a transfer by sending a value to a random account
[include](index.js)
<<< @/docs/examples/rx/09_transfer_events/index.js
+1 -1
View File
@@ -2,4 +2,4 @@
Performs a chain upgrade using the `sudo` module. This may brick your chain, so us it as an educational sample. (use `substrate --dev purge-chain` to remove DB and recover).
[include](index.js)
<<< @/docs/examples/rx/10_upgrade_chain/index.js