From f3f0532f7470af49e731223ba3d247d5ae8fdd1e Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Tue, 5 Jan 2021 15:51:00 +0100 Subject: [PATCH] doc/hubs: move note about identical classes Otherwise, it was shown after the newly added __init__ docstring, which was confusing. --- doc/api/hubs/inventorhub.rst | 8 ++++---- doc/api/hubs/primehub.rst | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/api/hubs/inventorhub.rst b/doc/api/hubs/inventorhub.rst index fa883f8..1bcfd8e 100644 --- a/doc/api/hubs/inventorhub.rst +++ b/doc/api/hubs/inventorhub.rst @@ -4,13 +4,13 @@ MINDSTORMS Inventor Hub .. figure:: ../../api/images/inventorhub.png :height: 15 em +This class is identical to the +:class:`PrimeHub ` class, except +for the name. + .. autoclass:: pybricks.hubs.InventorHub :no-members: - This class is identical to the - :class:`PrimeHub ` class, except - for the name. - .. rubric:: Using the hub status light .. figure:: ../../api/images/primehub_light_label.png diff --git a/doc/api/hubs/primehub.rst b/doc/api/hubs/primehub.rst index 9781c56..bac1356 100644 --- a/doc/api/hubs/primehub.rst +++ b/doc/api/hubs/primehub.rst @@ -4,13 +4,13 @@ SPIKE Prime Hub .. figure:: ../../api/images/primehub.png :height: 15 em +This class is identical to the +:class:`PrimeHub ` class, except +for the name. + .. autoclass:: pybricks.hubs.PrimeHub :no-members: - This class is identical to the - :class:`PrimeHub ` class, except - for the name. - .. rubric:: Using the hub status light .. figure:: ../../api/images/primehub_light_label.png