Skip to content

Commit 84f5da2

Browse files
committed
Doc: Fix motion base doc.
Signed-off-by: icyqwq <icyqwq@gmail.com>
1 parent ed4c693 commit 84f5da2

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

docs/en/base/motion.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Micropython Example::
2424

2525
UIFLOW2 Example:
2626

27-
|example.svg|
27+
|example.png|
2828

2929
.. only:: builder_html
3030

@@ -43,7 +43,7 @@ Constructors
4343

4444
UIFLOW2:
4545

46-
|__init__.svg|
46+
|__init__.png|
4747

4848

4949
Methods
@@ -57,7 +57,7 @@ Methods
5757

5858
UIFLOW2:
5959

60-
|get_servo_angle.svg|
60+
|get_servo_angle.png|
6161

6262
.. method:: Motion.set_servo_angle(ch, angle)
6363

@@ -68,7 +68,7 @@ Methods
6868

6969
UIFLOW2:
7070

71-
|set_servo_angle.svg|
71+
|set_servo_angle.png|
7272

7373
.. method:: Motion.get_servo_pulse(ch)
7474

@@ -78,7 +78,7 @@ Methods
7878

7979
UIFLOW2:
8080

81-
|get_servo_pulse.svg|
81+
|get_servo_pulse.png|
8282

8383
.. method:: Motion.write_servo_pulse(ch, pulse)
8484

@@ -89,7 +89,7 @@ Methods
8989

9090
UIFLOW2:
9191

92-
|write_servo_pulse.svg|
92+
|write_servo_pulse.png|
9393

9494
.. method:: Motion.get_motor_speed(ch)
9595

@@ -99,7 +99,7 @@ Methods
9999

100100
UIFLOW2:
101101

102-
|get_motor_speed.svg|
102+
|get_motor_speed.png|
103103

104104
.. method:: Motion.set_motor_speed(ch, speed)
105105

@@ -110,6 +110,6 @@ Methods
110110

111111
UIFLOW2:
112112

113-
|set_motor_speed.svg|
113+
|set_motor_speed.png|
114114

115115

docs/en/refs/base.motion.ref

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
:height: 200px
55
:width: 200px
66

7-
.. |__init__.svg| image:: https://static-cdn.m5stack.com/mpy_docs/module/motion/__init__.svg
8-
.. |get_servo_angle.svg| image:: https://static-cdn.m5stack.com/mpy_docs/module/motion/get_servo_angle.svg
9-
.. |set_servo_angle.svg| image:: https://static-cdn.m5stack.com/mpy_docs/module/motion/set_servo_angle.svg
10-
.. |get_servo_pulse.svg| image:: https://static-cdn.m5stack.com/mpy_docs/module/motion/get_servo_pulse.svg
11-
.. |write_servo_pulse.svg| image:: https://static-cdn.m5stack.com/mpy_docs/module/motion/write_servo_pulse.svg
12-
.. |get_motor_speed.svg| image:: https://static-cdn.m5stack.com/mpy_docs/module/motion/get_motor_speed.svg
13-
.. |set_motor_speed.svg| image:: https://static-cdn.m5stack.com/mpy_docs/module/motion/set_motor_speed.svg
7+
.. |__init__.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/motion/init.png
8+
.. |get_servo_angle.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/motion/get_servo_angle.png
9+
.. |set_servo_angle.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/motion/set_servo_angle.png
10+
.. |get_servo_pulse.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/motion/get_servo_pulse.png
11+
.. |write_servo_pulse.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/motion/write_servo_pulse.png
12+
.. |get_motor_speed.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/motion/get_motor_speed.png
13+
.. |set_motor_speed.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/motion/set_motor_speed.png
1414

15-
.. |example.svg| image:: https://static-cdn.m5stack.com/mpy_docs/module/motion/example.svg
15+
.. |example.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/motion/example.png
1616

0 commit comments

Comments
 (0)