mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
doc/main/hubs: Use width to set scale.
Fixes https://github.com/pybricks/support/issues/844
This commit is contained in:
@@ -4,7 +4,7 @@ City Hub
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. figure:: ../../main/cad/output/hub-city.png
|
||||
:height: 15 em
|
||||
:width: 30%
|
||||
|
||||
.. autoclass:: pybricks.hubs.CityHub
|
||||
:no-members:
|
||||
|
||||
@@ -6,7 +6,6 @@ Essential Hub
|
||||
.. figure:: ../../main/cad/output/hub-essential.png
|
||||
:width: 30%
|
||||
|
||||
|
||||
.. autoclass:: pybricks.hubs.EssentialHub
|
||||
:no-members:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ MINDSTORMS EV3 Brick
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. figure:: ../../main/cad/output/ev3device-ev3.png
|
||||
:height: 15 em
|
||||
:width: 50%
|
||||
|
||||
.. autoclass:: pybricks.hubs.EV3Brick
|
||||
:no-members:
|
||||
|
||||
@@ -18,35 +18,35 @@
|
||||
.. pybricks-classlink:: MoveHub
|
||||
|
||||
.. figure:: ../../main/cad/output/hub-move.png
|
||||
:width: 30%
|
||||
:width: 40%
|
||||
:target: movehub.html
|
||||
|
||||
.. pybricks-classlink:: CityHub
|
||||
|
||||
.. figure:: ../../main/cad/output/hub-city.png
|
||||
:width: 20%
|
||||
:width: 25%
|
||||
:target: cityhub.html
|
||||
|
||||
.. pybricks-classlink:: TechnicHub
|
||||
|
||||
.. figure:: ../../main/cad/output/hub-technic.png
|
||||
:width: 25%
|
||||
:width: 35%
|
||||
:target: technichub.html
|
||||
|
||||
.. pybricks-classlink:: InventorHub PrimeHub
|
||||
|
||||
.. figure:: ../../main/cad/output/hub-inventor.png
|
||||
:width: 25%
|
||||
:width: 35%
|
||||
:target: primehub.html
|
||||
|
||||
.. pybricks-classlink:: PrimeHub
|
||||
|
||||
.. figure:: ../../main/cad/output/hub-prime.png
|
||||
:width: 25%
|
||||
:width: 35%
|
||||
:target: primehub.html
|
||||
|
||||
.. pybricks-classlink:: EssentialHub
|
||||
|
||||
.. figure:: ../../main/cad/output/hub-essential.png
|
||||
:width: 20%
|
||||
:width: 25%
|
||||
:target: essentialhub.html
|
||||
|
||||
@@ -6,7 +6,7 @@ Move Hub
|
||||
.. _fig_movehub:
|
||||
|
||||
.. figure:: ../../main/diagrams/movehub.png
|
||||
:height: 15 em
|
||||
:width: 100%
|
||||
|
||||
.. autoclass:: pybricks.hubs.MoveHub
|
||||
:no-members:
|
||||
|
||||
@@ -4,8 +4,7 @@ Prime Hub / Inventor Hub
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. figure:: ../../main/cad/output/hub-spike-inventor.png
|
||||
:height: 15 em
|
||||
|
||||
:width: 80%
|
||||
|
||||
.. class:: InventorHub
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Technic Hub
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. figure:: ../../main/cad/output/hub-technic.png
|
||||
:height: 15 em
|
||||
:width: 40%
|
||||
|
||||
.. autoclass:: pybricks.hubs.TechnicHub
|
||||
:no-members:
|
||||
|
||||
@@ -34,29 +34,29 @@ Side
|
||||
**Prime Hub**
|
||||
|
||||
.. figure:: ../../main/diagrams/orientation_primehub.png
|
||||
:height: 17 em
|
||||
:width: 60%
|
||||
|
||||
**Inventor Hub**
|
||||
|
||||
.. figure:: ../../main/diagrams/orientation_inventorhub.png
|
||||
:height: 17 em
|
||||
:width: 60%
|
||||
|
||||
**Essential Hub**
|
||||
|
||||
.. figure:: ../../main/diagrams/orientation_essentialhub.png
|
||||
:height: 17 em
|
||||
:width: 60%
|
||||
|
||||
**Move Hub**
|
||||
|
||||
.. figure:: ../../main/diagrams/orientation_movehub.png
|
||||
:height: 17 em
|
||||
:width: 60%
|
||||
|
||||
**Technic Hub**
|
||||
|
||||
.. figure:: ../../main/diagrams/orientation_technichub.png
|
||||
:height: 17 em
|
||||
:width: 60%
|
||||
|
||||
**Tilt Sensor**
|
||||
|
||||
.. figure:: ../../main/diagrams/orientation_tiltsensor.png
|
||||
:height: 17 em
|
||||
:width: 60%
|
||||
|
||||
Reference in New Issue
Block a user