From e6ff6884d48e75c8accebcfebe34c619de560126 Mon Sep 17 00:00:00 2001 From: Kiall Mac Innes Date: Mon, 14 Apr 2014 19:26:59 +0100 Subject: [PATCH] Correct Python bindings create-record example Change-Id: Ic4dee73aa7c0f407fa3fd757edf52a923ba5707d --- doc/requirements.txt | 2 ++ doc/source/bindings.rst | 2 +- doc/source/conf.py | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 doc/requirements.txt diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 0000000..8bee60b --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,2 @@ +-r ../requirements.txt +-r ../test-requirements.txt diff --git a/doc/source/bindings.rst b/doc/source/bindings.rst index 23ddae1..218e458 100644 --- a/doc/source/bindings.rst +++ b/doc/source/bindings.rst @@ -307,7 +307,7 @@ Creating a Record domain_id = 'fb505f10-25df-11e3-8224-0800200c9a66' # Create a new Record object - record = Record(name="www.example.com.", type="A", content="127.0.0.1") + record = Record(name="www.example.com.", type="A", data="127.0.0.1") # Send the Create Record API call record = client.records.create(domain_id, record) diff --git a/doc/source/conf.py b/doc/source/conf.py index 906fcfb..22c6cb8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -41,7 +41,7 @@ master_doc = 'index' # General information about the project. project = u'designateclient' -copyright = u'2012, Managed I.T.' +copyright = u'2012, Managed I.T. 2013-2014, Hewlett-Packard Development Company, L.P.' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -185,7 +185,7 @@ latex_elements = { # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', 'designateclient.tex', u'Designate Client Documentation', - u'Managed I.T.', 'manual'), + u'OpenStack', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of