fix(docs): fix most sphinx warnings (#6916)

Co-authored-by: Kevin Schlosser <kdschlosser@users.noreply.github.com>
Co-authored-by: Liam <30486941+liamHowatt@users.noreply.github.com>
This commit is contained in:
Victor Wheeler
2024-09-30 06:57:22 -06:00
committed by GitHub
parent a298c245ac
commit 0458acd998
98 changed files with 1389 additions and 1070 deletions

View File

@@ -13,7 +13,7 @@ periodically in one of the following:
Example:
.. code:: c
.. code-block:: c
while(1) {
uint32_t time_till_next = lv_timer_handler();
@@ -24,7 +24,7 @@ If you want to use :cpp:func:`lv_timer_handler` in a super-loop, a helper
function :cpp:func:`lv_timer_handler_run_in_period` is provided to simplify
the porting:
.. code:: c
.. code-block:: c
while(1) {
...
@@ -34,7 +34,7 @@ the porting:
Or use the sleep time automatically calculated by LVGL:
.. code:: c
.. code-block:: c
while(1) {
...
@@ -45,7 +45,7 @@ Or use the sleep time automatically calculated by LVGL:
In an OS environment, you can use it together with the **delay** or
**sleep** provided by OS to release CPU whenever possible:
.. code:: c
.. code-block:: c
while (1) {
uint32_t time_till_next = lv_timer_handler();