docs(animimg) add to extra widgets index and fix example (#2610)

`lv_example_animimg_1` should not contain the `.c` extension, and add animation image to the index page for extra widgets.
This commit is contained in:
fvanroie
2021-09-27 19:02:52 +02:00
committed by GitHub
parent f9d9aef122
commit bc9c356347
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
.. toctree::
:maxdepth: 1
animimg
calendar
chart
colorwheel

View File

@@ -2,6 +2,6 @@
Simple Animation Image
""""""""""""""""
.. lv_example:: widgets/animimg/lv_example_animimg_1.c
.. lv_example:: widgets/animimg/lv_example_animimg_1
:language: c
:description: A simple example to demonstrate the use of an animation image.