Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed Jan 27, 2023
1 parent 8857639 commit 033888c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/device_docs/vacuum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ so it is also possible to pass dicts.
`mirobo --help`
~~~~~~~~~~~~~~~

.. click:: miio.integrations.vacuum.roborock.vacuum_cli:cli
.. click:: miio.integrations.roborock.vacuum.vacuum_cli:cli
:prog: mirobo
:show-nested:

:py:class:`API <miio.vacuum>`
:py:class:`API <miio.integrations.roborocok.vacuum>`
2 changes: 1 addition & 1 deletion docs/device_docs/yeelight.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ Status reporting
or an issue, if you do not want to implement it on your own!


:py:class:`API <miio.yeelight>`
:py:class:`API <miio.integrations.yeelight.light>`
6 changes: 3 additions & 3 deletions docs/simulator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Usage

You start the simulator like this::

miiocli devtools miio-simulator --file miio/integrations/fan/zhimi/zhimi_fan.yaml
miiocli devtools miio-simulator --file miio/integrations/zhimi/fan/zhimi_fan.yaml

The mandatory ``--file`` option takes a path to :ref:`a device description file <miio_device_descriptions>` file
that defines information about the device to be simulated.
Expand Down Expand Up @@ -180,7 +180,7 @@ Example Description File
The following description file shows a complete,
concrete example for a device using ``get_prop`` for accessing the properties (``zhimi_fan.yaml``):

.. literalinclude:: ../miio/integrations/fan/zhimi/zhimi_fan.yaml
.. literalinclude:: ../miio/integrations/zhimi/fan/zhimi_fan.yaml
:language: yaml

.. _example_desc_methods:
Expand All @@ -191,7 +191,7 @@ Example Description File Using Methods
The following description file (``simulated_roborock.yaml``) shows a complete,
concrete example for a device using custom method names for obtaining the status.

.. literalinclude:: ../miio/integrations/vacuum/roborock/simulated_roborock.yaml
.. literalinclude:: ../miio/integrations/roborock/vacuum/simulated_roborock.yaml
:language: yaml


Expand Down

0 comments on commit 033888c

Please sign in to comment.