doc/hubs: move note about identical classes

Otherwise, it was shown after the newly added __init__ docstring, which was confusing.
This commit is contained in:
Laurens Valk
2021-01-05 16:31:35 +01:00
parent 3a9e5728c6
commit f3f0532f74
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -4,13 +4,13 @@ MINDSTORMS Inventor Hub
.. figure:: ../../api/images/inventorhub.png
:height: 15 em
This class is identical to the
:class:`PrimeHub <pybricks.hubs.PrimeHub>` class, except
for the name.
.. autoclass:: pybricks.hubs.InventorHub
:no-members:
This class is identical to the
:class:`PrimeHub <pybricks.hubs.PrimeHub>` class, except
for the name.
.. rubric:: Using the hub status light
.. figure:: ../../api/images/primehub_light_label.png
+4 -4
View File
@@ -4,13 +4,13 @@ SPIKE Prime Hub
.. figure:: ../../api/images/primehub.png
:height: 15 em
This class is identical to the
:class:`PrimeHub <pybricks.hubs.PrimeHub>` class, except
for the name.
.. autoclass:: pybricks.hubs.PrimeHub
:no-members:
This class is identical to the
:class:`PrimeHub <pybricks.hubs.PrimeHub>` class, except
for the name.
.. rubric:: Using the hub status light
.. figure:: ../../api/images/primehub_light_label.png