Fix warnings in docstrings
When generating the docs some warnings were generated. Also, configure doc build so that if there are warnings, the build will fail. Change-Id: I7e10499294cf1f06f766cbff392e9de32ea48e5a
This commit is contained in:
parent
0b3aee8cc6
commit
14c955cf6d
@ -842,7 +842,6 @@ class LegacyEngineFacade(object):
|
|||||||
"""A helper class for removing of global engine instances from oslo.db.
|
"""A helper class for removing of global engine instances from oslo.db.
|
||||||
|
|
||||||
.. deprecated::
|
.. deprecated::
|
||||||
|
|
||||||
EngineFacade is deprecated. Please use
|
EngineFacade is deprecated. Please use
|
||||||
oslo.db.sqlalchemy.enginefacade for new development.
|
oslo.db.sqlalchemy.enginefacade for new development.
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ class WalkVersionsMixin(object):
|
|||||||
|
|
||||||
If we have ordered migrations 123abc, 456def, 789ghi and we run
|
If we have ordered migrations 123abc, 456def, 789ghi and we run
|
||||||
upgrading with the `snake_walk` argument set to `True`, the
|
upgrading with the `snake_walk` argument set to `True`, the
|
||||||
migrations will be applied in the following order:
|
migrations will be applied in the following order::
|
||||||
|
|
||||||
`123abc => 456def => 123abc =>
|
`123abc => 456def => 123abc =>
|
||||||
456def => 789ghi => 456def => 789ghi`
|
456def => 789ghi => 456def => 789ghi`
|
||||||
|
@ -60,9 +60,7 @@ fixtures =
|
|||||||
testscenarios>=0.4
|
testscenarios>=0.4
|
||||||
|
|
||||||
[pbr]
|
[pbr]
|
||||||
# NOTE(viktors): uncomment ``warnerrors`` line, when setup.cfg we then
|
warnerrors = True
|
||||||
# want to treat sphinx warnings as errors
|
|
||||||
# warnerrors = True
|
|
||||||
autodoc_index_modules = True
|
autodoc_index_modules = True
|
||||||
autodoc_exclude_modules =
|
autodoc_exclude_modules =
|
||||||
oslo_db.tests.*
|
oslo_db.tests.*
|
Loading…
x
Reference in New Issue
Block a user