doc: rename hub rst file

Each hub will have its own RST file.
This commit is contained in:
Laurens Valk
2019-10-18 17:31:52 +02:00
parent aa8c95234e
commit e23d9661cc
4 changed files with 4 additions and 14 deletions
@@ -1,5 +1,5 @@
:mod:`hubs` -- LEGO® Programmable Hubs
=============================================
:mod:`hubs` -- EV3 Brick
==============================================
.. automodule:: pybricks.hubs
:no-members:
+1 -1
View File
@@ -36,7 +36,7 @@ programs and start inventing your own programs.
:caption: Pybricks Hubs
:hidden:
ev3brick
hubs_ev3brick
.. toctree::
:maxdepth: 1
-9
View File
@@ -1,9 +0,0 @@
"""LEGO® MINDSTORMS® EV3 Brick."""
from .builtins import Speaker, Display, Battery, ColorLight, KeyPad
sound = Speaker()
display = Display()
battery = Battery()
light = ColorLight()
buttons = KeyPad()
+1 -2
View File
@@ -4,8 +4,7 @@ from .builtins import Speaker, Display, Battery, ColorLight, KeyPad
class EV3Brick():
"""LEGO® MINDSTORMS® EV3 Brick.
"""
"""LEGO® MINDSTORMS® EV3 Brick."""
Port = Enum('Port', ['A', 'B', 'C', 'D', 'S1', 'S2', 'S3', 'S4'])
speaker = Speaker()
display = Display()