summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Gordon <joe.gordon0@gmail.com>2015-06-04 17:00:12 +0900
committerJoe Gordon <joe.gordon0@gmail.com>2015-06-04 17:10:50 +0900
commit4e9a2b4c69c7dde8cf6c1f9803d6f5d7889e15f9 (patch)
treebbef6627c27785b5f06eb4b52981482175051749
parentd37c19a13fb32424f9cf021cbef416cd2cfde53b (diff)
downloadpython-novaclient-4e9a2b4c69c7dde8cf6c1f9803d6f5d7889e15f9.tar.gz
Fix all doc warnings and gate on warnings
* Remove releases (File removed in e334096aa3a4badb2930c766cb4b42bbcc9ac107) * Add link to man page * Fix some docstring formatting Change-Id: Iec67a6d32f0365e514394c1e3eb7d8e4ae6aff65
-rw-r--r--doc/source/index.rst12
-rw-r--r--novaclient/v2/volume_snapshots.py2
-rw-r--r--setup.cfg3
3 files changed, 15 insertions, 2 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 126805a4..e8027493 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -26,7 +26,6 @@ Contents:
api
ref/index
ref/v2/index
- releases
Contributing
============
@@ -79,6 +78,17 @@ The process for command deprecation is:
Since there was less than six months before 2015.2 would be released, the
deprecation cycle ran through the 2016.1 Nova server release.
+
+Man Page
+========
+
+.. toctree::
+ :maxdepth: 1
+
+ man/nova
+
+
+
Indices and tables
==================
diff --git a/novaclient/v2/volume_snapshots.py b/novaclient/v2/volume_snapshots.py
index 1bc154d3..8ca1971a 100644
--- a/novaclient/v2/volume_snapshots.py
+++ b/novaclient/v2/volume_snapshots.py
@@ -52,7 +52,7 @@ class SnapshotManager(base.ManagerWithFind):
:param volume_id: The ID of the volume to snapshot.
:param force: If force is True, create a snapshot even if the volume is
- attached to an instance. Default is False.
+ attached to an instance. Default is False.
:param display_name: Name of the snapshot
:param display_description: Description of the snapshot
:rtype: :class:`Snapshot`
diff --git a/setup.cfg b/setup.cfg
index 6df42821..07cb81b0 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -38,3 +38,6 @@ upload-dir = doc/build/html
[wheel]
universal = 1
+
+[pbr]
+warnerrors = true