Minor fixes to generate documentation correctly

This commit is contained in:
nad 2020-03-17 18:42:53 +01:00
parent 640cc9910f
commit 16560462fa
3 changed files with 4 additions and 4 deletions

View file

@ -63,4 +63,4 @@ Schema
******
.. dhlist::
:module: ereuse_devicehub.resources.event.schemas
:module: ereuse_devicehub.resources.action.schemas

View file

@ -33,7 +33,7 @@ from ereuse_devicehub.marshmallow import NestedOn
from ereuse_devicehub.resources.schemas import Thing
project = 'Devicehub'
copyright = '2018, eReuse.org team'
copyright = '2020, eReuse.org team'
author = 'eReuse.org team'
# The short X.Y version

View file

@ -312,7 +312,7 @@ class Display(DisplayMixin, Component):
class Battery(Component):
__doc__ = m.Battery
__doc__ = m.Battery.__doc__
wireless = Boolean(description=m.Battery.wireless.comment)
technology = EnumField(enums.BatteryTechnology, description=m.Battery.technology.comment)
@ -320,7 +320,7 @@ class Battery(Component):
class Camera(Component):
__doc__ = m.Camera
__doc__ = m.Camera.__doc__
focal_length = Integer(data_key='focalLength')
video_height = Integer(data_key='videoHeight')