From f2fbdc79ce59d9aa1017b4eaa8a0058e492c5d84 Mon Sep 17 00:00:00 2001 From: michielmulders Date: Fri, 22 Sep 2017 11:06:33 +0200 Subject: [PATCH] Small cleanup fixes --- docs/source/index.rst | 15 --------------- docs/source/usage.rst | 9 +++++---- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index eb10ba2..6443cba 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -9,21 +9,6 @@ BigchainDB Javascript Driver Documentation quickstart usage - -Another header -============== - -Here is text and start quote:: - - print 'hello' - >> hello - -Guide -^^^^^ - -Section testing - - Indices and tables ================== diff --git a/docs/source/usage.rst b/docs/source/usage.rst index 168d2e4..13eb526 100644 --- a/docs/source/usage.rst +++ b/docs/source/usage.rst @@ -122,7 +122,7 @@ Sign the transaction with private key of Alice to fulfill it: .. code-block:: js - const txCreateAliceSimpleSigned = driver.Transaction.signTransaction(txCreateAliceSimple, alice.privateKey) + driver.Transaction.signTransaction(txCreateAliceSimple, alice.privateKey) And sent over to a BigchainDB node: @@ -194,7 +194,7 @@ Fulfill transaction by signing it with Alice's private key. .. code-block:: js - txTransferBobSigned = driver.Transaction.signTransaction(txTransferBob, alice.privateKey); + driver.Transaction.signTransaction(txTransferBob, alice.privateKey); And sent over to a BigchainDB node: @@ -357,11 +357,12 @@ Recap: Asset Creation & Transfer .then(() => conn.searchAssets('Bicycle Inc.')) .then(assets => console.log('Found assets with serial number Bicycle Inc.:', assets)) - Divisible Assets ---------------- +Yet to come! .. TODO: .. - Add lexer: https://stackoverflow.com/questions/4259105/which-sphinx-code-block-language-to-use-for-json -.. - Add divisible assets example \ No newline at end of file +.. - Add divisible assets example +.. - Add more readable code with promises possibly. \ No newline at end of file