From d6b20a962cb1d1dbf1f77d7c5d5782a88e008591 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Wed, 25 Mar 2020 13:19:48 +0100 Subject: [PATCH] doc/media: make module level match ImageFile and SoundFile are located at media.ev3dev, not media. --- doc/api/media.rst | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/doc/api/media.rst b/doc/api/media.rst index c728d9b..9f36c2f 100644 --- a/doc/api/media.rst +++ b/doc/api/media.rst @@ -1,18 +1,22 @@ :mod:`media ` -- Sounds and Images ================================================== -.. automodule:: pybricks.media - :no-members: +.. module:: pybricks.media -You can use your own sound and image files by placing them in your project -folder. You can also use any of the images and sounds built into ev3dev, or -draw your own. +This module describes media such as sound and images that you can use in your +projects. Media are divided into submodules that indicate on which platform +they are available. -ev3dev ------- +:mod:`media.ev3dev ` -- Sounds and Images +--------------------------------------------------------------------- -.. automodule:: pybricks.media.ev3dev - :no-members: +.. module:: pybricks.media.ev3dev + +EV3 MicroPython is built on top of ev3dev, which comes with a variety of image +and sound files. You can access them using the classes below. + +You can also use your own sound and image files by placing them in your project +folder. Image Files ^^^^^^^^^^^