Minor fixes to generate documentation correctly
This commit is contained in:
parent
640cc9910f
commit
16560462fa
|
@ -63,4 +63,4 @@ Schema
|
||||||
******
|
******
|
||||||
|
|
||||||
.. dhlist::
|
.. dhlist::
|
||||||
:module: ereuse_devicehub.resources.event.schemas
|
:module: ereuse_devicehub.resources.action.schemas
|
||||||
|
|
|
@ -33,7 +33,7 @@ from ereuse_devicehub.marshmallow import NestedOn
|
||||||
from ereuse_devicehub.resources.schemas import Thing
|
from ereuse_devicehub.resources.schemas import Thing
|
||||||
|
|
||||||
project = 'Devicehub'
|
project = 'Devicehub'
|
||||||
copyright = '2018, eReuse.org team'
|
copyright = '2020, eReuse.org team'
|
||||||
author = 'eReuse.org team'
|
author = 'eReuse.org team'
|
||||||
|
|
||||||
# The short X.Y version
|
# The short X.Y version
|
||||||
|
|
|
@ -312,7 +312,7 @@ class Display(DisplayMixin, Component):
|
||||||
|
|
||||||
|
|
||||||
class Battery(Component):
|
class Battery(Component):
|
||||||
__doc__ = m.Battery
|
__doc__ = m.Battery.__doc__
|
||||||
|
|
||||||
wireless = Boolean(description=m.Battery.wireless.comment)
|
wireless = Boolean(description=m.Battery.wireless.comment)
|
||||||
technology = EnumField(enums.BatteryTechnology, description=m.Battery.technology.comment)
|
technology = EnumField(enums.BatteryTechnology, description=m.Battery.technology.comment)
|
||||||
|
@ -320,7 +320,7 @@ class Battery(Component):
|
||||||
|
|
||||||
|
|
||||||
class Camera(Component):
|
class Camera(Component):
|
||||||
__doc__ = m.Camera
|
__doc__ = m.Camera.__doc__
|
||||||
|
|
||||||
focal_length = Integer(data_key='focalLength')
|
focal_length = Integer(data_key='focalLength')
|
||||||
video_height = Integer(data_key='videoHeight')
|
video_height = Integer(data_key='videoHeight')
|
||||||
|
|
Reference in New Issue