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:
parent
c73446000c
commit
e1629469f1
@ -83,7 +83,7 @@ ironicclient Modules
|
||||
====================
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:maxdepth: 1
|
||||
|
||||
modules <api/autoindex>
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user