From 69c32e5c0dfef20e6f77806b0367addb4ffaeae4 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Mon, 18 Jan 2021 12:40:19 +0100 Subject: [PATCH] doc: fix image paths Use full path just like all other images in the api docs --- doc/api/hubs/index.rst | 12 ++++++------ doc/api/index.rst | 6 +++--- doc/api/pupdevices/index.rst | 4 ++-- doc/api/start_pup.rst | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/api/hubs/index.rst b/doc/api/hubs/index.rst index a5445c7..6f1cfa1 100644 --- a/doc/api/hubs/index.rst +++ b/doc/api/hubs/index.rst @@ -17,42 +17,42 @@ .. class:: MoveHub :noindex: -.. figure:: ../images/movehub.png +.. figure:: ../../api/images/movehub.png :height: 10 em :target: movehub.html .. class:: CityHub :noindex: -.. figure:: ../images/cityhub.png +.. figure:: ../../api/images/cityhub.png :height: 10 em :target: cityhub.html .. class:: TechnicHub :noindex: -.. figure:: ../images/technichub.png +.. figure:: ../../api/images/technichub.png :height: 10 em :target: technichub.html .. class:: PrimeHub :noindex: -.. figure:: ../images/primehub.png +.. figure:: ../../api/images/primehub.png :height: 10 em :target: primehub.html .. class:: InventorHub :noindex: -.. figure:: ../images/inventorhub.png +.. figure:: ../../api/images/inventorhub.png :height: 10 em :target: inventorhub.html .. class:: EV3Brick :noindex: -.. figure:: ../images/ev3brick.png +.. figure:: ../../api/images/ev3brick.png :height: 10 em :target: ev3brick.html diff --git a/doc/api/index.rst b/doc/api/index.rst index a90fccc..258ac1e 100644 --- a/doc/api/index.rst +++ b/doc/api/index.rst @@ -17,13 +17,13 @@ the platforms below. - **Powered Up (Technic/City/BOOST)** - **SPIKE / MINDSTORMS Inventor** - * - .. image:: images/ev3brick.png + * - .. image:: ../api/images/ev3brick.png :target: start_ev3/index.html - - .. figure:: images/powereduphubs.png + - .. figure:: ../api/images/powereduphubs.png :target: start_pup.html - - .. figure:: images/primeinventorhub.png + - .. figure:: ../api/images/primeinventorhub.png :target: start_inventor.html diff --git a/doc/api/pupdevices/index.rst b/doc/api/pupdevices/index.rst index 5695c0e..d973da3 100644 --- a/doc/api/pupdevices/index.rst +++ b/doc/api/pupdevices/index.rst @@ -23,14 +23,14 @@ .. class:: DCMotor :noindex: -.. figure:: ../images/pupdcmotors_label.png +.. figure:: ../../api/images/pupdcmotors_label.png :width: 70 % :target: dcmotor.html .. class:: Motor :noindex: -.. figure:: ../images/pupmotors_label.png +.. figure:: ../../api/images/pupmotors_label.png :width: 100 % :target: motor.html diff --git a/doc/api/start_pup.rst b/doc/api/start_pup.rst index ccf526f..13064b7 100644 --- a/doc/api/start_pup.rst +++ b/doc/api/start_pup.rst @@ -1,7 +1,7 @@ Powered Up Quick Start ######################## -.. figure:: images/powereduphubs.png +.. figure:: ../api/images/powereduphubs.png :height: 15 em :align: center