summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKiall Mac Innes <kiall@hp.com>2014-04-14 19:26:59 +0100
committerKiall Mac Innes <kiall@hp.com>2014-04-14 19:28:59 +0100
commite6ff6884d48e75c8accebcfebe34c619de560126 (patch)
tree2ec3e8586fd26a7aa804da1cc42f040dcbee20ac /doc
parent11d4b42c11a0df4123a187d44d105cc438e7dbc9 (diff)
downloadpython-designateclient-e6ff6884d48e75c8accebcfebe34c619de560126.tar.gz
Correct Python bindings create-record example
Change-Id: Ic4dee73aa7c0f407fa3fd757edf52a923ba5707d
Diffstat (limited to 'doc')
-rw-r--r--doc/requirements.txt2
-rw-r--r--doc/source/bindings.rst2
-rw-r--r--doc/source/conf.py4
3 files changed, 5 insertions, 3 deletions
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