Fix sphinx warnings

Getting rid of a couple of warnings that are generated during the
documentation build.

Closes-Bug: #1392780

Change-Id: I2ebc8f1ec49ff80331077a653f0e73c988153898
This commit is contained in:
David Shrewsbury 2014-11-14 10:55:44 -05:00
parent c73446000c
commit e1629469f1
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ ironicclient Modules
====================
.. toctree::
:maxdepth: 1
:maxdepth: 1
modules <api/autoindex>

View File

@ -54,7 +54,7 @@ def define_command(subparsers, command, callback, cmd_mapper):
def define_commands_from_module(subparsers, command_module, cmd_mapper):
"""Add 'do_' methods in a module and add as commands into a subparsers."""
"""Add *do_* methods in a module and add as commands into a subparsers."""
for method_name in (a for a in dir(command_module) if a.startswith('do_')):
# Commands should be hypen-separated instead of underscores.