From 3bdaf60acbda3272a551d7246c51f23f0e98d145 Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Wed, 7 Dec 2016 19:59:22 +0100 Subject: [PATCH] Fix docs building warnings --- bigchaindb/common/schema/transaction.yaml | 2 +- bigchaindb/core.py | 4 ++-- docs/server/source/drivers-clients/http-client-server-api.rst | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bigchaindb/common/schema/transaction.yaml b/bigchaindb/common/schema/transaction.yaml index 03dbe8ad..c365eb82 100644 --- a/bigchaindb/common/schema/transaction.yaml +++ b/bigchaindb/common/schema/transaction.yaml @@ -147,7 +147,7 @@ definitions: "$ref": "#/definitions/offset" description: | Index of this condition's appearance in the `Transaction.conditions`_ - array. In a transaction with 2 conditions, the ``cid``s will be 0 and 1. + array. In a transaction with 2 conditions, the ``cid`` s will be 0 and 1. condition: description: | Body of the condition. Has the properties: diff --git a/bigchaindb/core.py b/bigchaindb/core.py index 8fec1c89..34dbab84 100644 --- a/bigchaindb/core.py +++ b/bigchaindb/core.py @@ -411,13 +411,13 @@ class Bigchain(object): return None def get_owned_ids(self, owner): - """Retrieve a list of `txid`s that can be used as inputs. + """Retrieve a list of ``txid`` s that can be used as inputs. Args: owner (str): base58 encoded public key. Returns: - :obj:`list` of TransactionLink: list of `txid`s and `cid`s + :obj:`list` of TransactionLink: list of ``txid`` s and ``cid`` s pointing to another transaction's condition """ diff --git a/docs/server/source/drivers-clients/http-client-server-api.rst b/docs/server/source/drivers-clients/http-client-server-api.rst index 8143c39d..17cdf429 100644 --- a/docs/server/source/drivers-clients/http-client-server-api.rst +++ b/docs/server/source/drivers-clients/http-client-server-api.rst @@ -190,8 +190,8 @@ GET /unspents/ Content-Type: application/json [ - '../transactions/2d431073e1477f3073a4693ac7ff9be5634751de1b8abaa1f4e19548ef0b4b0e/conditions/0', - '../transactions/2d431073e1477f3073a4693ac7ff9be5634751de1b8abaa1f4e19548ef0b4b0e/conditions/1' + "../transactions/2d431073e1477f3073a4693ac7ff9be5634751de1b8abaa1f4e19548ef0b4b0e/conditions/0", + "../transactions/2d431073e1477f3073a4693ac7ff9be5634751de1b8abaa1f4e19548ef0b4b0e/conditions/1" ] :statuscode 200: A list of outputs were found and returned in the body of the response.