diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index f3ffee9ca..8945b47f9 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/CONTRIBUTING.md ``` # Contributing diff --git a/docs/build.py b/docs/build.py index 2bf9aba68..7a1f7979f 100755 --- a/docs/build.py +++ b/docs/build.py @@ -32,14 +32,8 @@ ex.exec() urlpath = re.sub('release/', '', br) -# Be sure the GitHub links point to the right branch -f = open("header.rst", "w") -f.write(".. |github_link_base| replace:: https://github.com/lvgl/lvgl/blob/" + gitcommit + "/docs") -f.close() - -base_html = "html_baseurl = 'https://docs.lvgl.io/" + urlpath + "/en/html/'" - -os.system("sed -i \"s|html_baseurl = .*|" + base_html +"|\" conf.py") +os.environ['LVGL_URLPATH'] = urlpath +os.environ['LVGL_GITCOMMIT'] = gitcommit clean = 0 trans = 0 diff --git a/docs/conf.py b/docs/conf.py index 574568cc8..07b49715c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -114,9 +114,23 @@ html_theme_options = { 'logo_only': True, } # For site map generation -html_baseurl = 'https://docs.lvgl.io/master/en/html/' +html_baseurl = f"https://docs.lvgl.io/{os.environ['LVGL_URLPATH']}/en/html/" + sitemap_url_scheme = "{link}" +#lvgl_github_url = f"https://github.com/lvgl/lvgl/blob/{os.environ['LVGL_GITCOMMIT']}/docs" + +#extlinks = {'github_link_base': (github_url + '%s', github_url)} + +html_context = { + 'github_version': os.environ['LVGL_GITCOMMIT'], + 'github_user': 'lvgl', + 'github_repo': 'lvgl', + 'display_github': True, + 'conf_py_path': '/docs/' +} + + # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". diff --git a/docs/example_list.py b/docs/example_list.py index c968ce673..c65554e33 100755 --- a/docs/example_list.py +++ b/docs/example_list.py @@ -103,7 +103,6 @@ def exec(): d_all.update(d_act) fout.write("```eval_rst\n") - fout.write(".. include:: /header.rst\n") fout.write(":github_url: |github_link_base|/examples.md\n") fout.write("```\n") fout.write("\n") @@ -124,4 +123,3 @@ def exec(): print_item(h, 3, d_all, fout) fout.write("") - diff --git a/docs/get-started/bindings/cpp.md b/docs/get-started/bindings/cpp.md index 0b2225c1c..1aa748704 100644 --- a/docs/get-started/bindings/cpp.md +++ b/docs/get-started/bindings/cpp.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/bindings/micropython.md ``` # Cpp diff --git a/docs/get-started/bindings/index.md b/docs/get-started/bindings/index.md index b1620e37d..9180ffc77 100644 --- a/docs/get-started/bindings/index.md +++ b/docs/get-started/bindings/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/bindings/index.md ``` # Bindings diff --git a/docs/get-started/bindings/micropython.md b/docs/get-started/bindings/micropython.md index 9ae738aa5..f8f0b43fe 100644 --- a/docs/get-started/bindings/micropython.md +++ b/docs/get-started/bindings/micropython.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/bindings/micropython.md ``` # Micropython diff --git a/docs/get-started/index.md b/docs/get-started/index.md index 0379c2998..0f46561b9 100644 --- a/docs/get-started/index.md +++ b/docs/get-started/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/index.md ``` # Get started diff --git a/docs/get-started/os/freertos.md b/docs/get-started/os/freertos.md index 0cc6d4519..e54a529be 100644 --- a/docs/get-started/os/freertos.md +++ b/docs/get-started/os/freertos.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/os/freertos.md ``` # FreeRTOS diff --git a/docs/get-started/os/index.md b/docs/get-started/os/index.md index eff37b7d5..92fab6d04 100644 --- a/docs/get-started/os/index.md +++ b/docs/get-started/os/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/os/index.md ``` # (RT)OS diff --git a/docs/get-started/os/nuttx.md b/docs/get-started/os/nuttx.md index dd2bb1af7..8e164a4c6 100644 --- a/docs/get-started/os/nuttx.md +++ b/docs/get-started/os/nuttx.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/os/nuttx.md ``` # NuttX RTOS diff --git a/docs/get-started/os/rt-thread.md b/docs/get-started/os/rt-thread.md index 4f6ec77bd..dfdf44c4e 100644 --- a/docs/get-started/os/rt-thread.md +++ b/docs/get-started/os/rt-thread.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/os/rt-thread.md ``` # RT-Thread RTOS diff --git a/docs/get-started/os/zephyr.md b/docs/get-started/os/zephyr.md index 32abd3d2d..a1ee4fcc5 100644 --- a/docs/get-started/os/zephyr.md +++ b/docs/get-started/os/zephyr.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/os/zephyr.md ``` # Zephyr diff --git a/docs/get-started/platforms/arduino.md b/docs/get-started/platforms/arduino.md index 259655371..06323c209 100644 --- a/docs/get-started/platforms/arduino.md +++ b/docs/get-started/platforms/arduino.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/platforms/arduino.md ``` # Arduino diff --git a/docs/get-started/platforms/cmake.md b/docs/get-started/platforms/cmake.md index 11e82efbe..13685b064 100644 --- a/docs/get-started/platforms/cmake.md +++ b/docs/get-started/platforms/cmake.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/platforms/cmake.md ``` # CMake diff --git a/docs/get-started/platforms/espressif.md b/docs/get-started/platforms/espressif.md index 45088159a..d37c1be7f 100644 --- a/docs/get-started/platforms/espressif.md +++ b/docs/get-started/platforms/espressif.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/platforms/espressif.md ``` # Espressif (ESP32 chip series) diff --git a/docs/get-started/platforms/index.md b/docs/get-started/platforms/index.md index 35306fdfc..f61c3eaa8 100644 --- a/docs/get-started/platforms/index.md +++ b/docs/get-started/platforms/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/index.md ``` # Platforms diff --git a/docs/get-started/platforms/nxp.md b/docs/get-started/platforms/nxp.md index b2fe1979d..b3ad75450 100644 --- a/docs/get-started/platforms/nxp.md +++ b/docs/get-started/platforms/nxp.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/platforms/nxp.md ``` # NXP NXP has integrated LVGL into the MCUXpresso SDK packages for several of their general diff --git a/docs/get-started/platforms/pc-simulator.md b/docs/get-started/platforms/pc-simulator.md index 6fae0732a..71243147b 100644 --- a/docs/get-started/platforms/pc-simulator.md +++ b/docs/get-started/platforms/pc-simulator.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/platoforms/simulator.md ``` # Simulator on PC diff --git a/docs/get-started/platforms/stm32.md b/docs/get-started/platforms/stm32.md index aa9c31d6f..ff10c3a1b 100644 --- a/docs/get-started/platforms/stm32.md +++ b/docs/get-started/platforms/stm32.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/platforms/stm32.md ``` # STM32 diff --git a/docs/get-started/platforms/tasmota-berry.md b/docs/get-started/platforms/tasmota-berry.md index 9e74221ce..e1d450238 100644 --- a/docs/get-started/platforms/tasmota-berry.md +++ b/docs/get-started/platforms/tasmota-berry.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/platforms/tasmota-berry.md ``` # Tasmota and berry diff --git a/docs/get-started/quick-overview.md b/docs/get-started/quick-overview.md index 6d6167d24..0607b795e 100644 --- a/docs/get-started/quick-overview.md +++ b/docs/get-started/quick-overview.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/get-started/quick-overview.md ``` # Quick overview diff --git a/docs/header.rst b/docs/header.rst deleted file mode 100644 index 1ae003bae..000000000 --- a/docs/header.rst +++ /dev/null @@ -1 +0,0 @@ -.. |github_link_base| replace:: https://github.com/lvgl/lvgl/blob/8a8153219163b689e8f96d6a97c1f128eefd7ce2/docs \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index a7cb046b9..9e48ad8ff 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/index.md ``` ```eval_rst diff --git a/docs/intro/index.md b/docs/intro/index.md index c4328a1d2..1a19b7091 100644 --- a/docs/intro/index.md +++ b/docs/intro/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/intro/index.md ``` # Introduction diff --git a/docs/layouts/flex.md b/docs/layouts/flex.md index 22ef804c9..09a2c7cfe 100644 --- a/docs/layouts/flex.md +++ b/docs/layouts/flex.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/layouts/flex.md ``` # Flex diff --git a/docs/layouts/grid.md b/docs/layouts/grid.md index 631777d6e..f1024287a 100644 --- a/docs/layouts/grid.md +++ b/docs/layouts/grid.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/layouts/grid.md ``` # Grid diff --git a/docs/layouts/index.md b/docs/layouts/index.md index da1606dcd..0576c1ffc 100644 --- a/docs/layouts/index.md +++ b/docs/layouts/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/layouts/index.md ``` # Layouts diff --git a/docs/libs/bmp.md b/docs/libs/bmp.md index 2fe6d20e9..1e713978d 100644 --- a/docs/libs/bmp.md +++ b/docs/libs/bmp.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/libs/bmp.md ``` # BMP decoder diff --git a/docs/libs/ffmpeg.md b/docs/libs/ffmpeg.md index f32ab7599..c2527938e 100644 --- a/docs/libs/ffmpeg.md +++ b/docs/libs/ffmpeg.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/libs/ffmpeg.md ``` # FFmpeg support diff --git a/docs/libs/freetype.md b/docs/libs/freetype.md index fcdc37dce..3d4da80b1 100644 --- a/docs/libs/freetype.md +++ b/docs/libs/freetype.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/libs/freetype.md ``` # FreeType support diff --git a/docs/libs/fsdrv.md b/docs/libs/fsdrv.md index 136b57b94..78ac1cacc 100644 --- a/docs/libs/fsdrv.md +++ b/docs/libs/fsdrv.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/libs/fsdrv.md ``` # File System Interfaces diff --git a/docs/libs/gif.md b/docs/libs/gif.md index 43294e6d8..1d2cda87d 100644 --- a/docs/libs/gif.md +++ b/docs/libs/gif.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/libs/gif.md ``` # GIF decoder diff --git a/docs/libs/index.md b/docs/libs/index.md index ae7dac56a..ba326a208 100644 --- a/docs/libs/index.md +++ b/docs/libs/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/libs/index.md ``` # 3rd party libraries diff --git a/docs/libs/png.md b/docs/libs/png.md index 306608040..b6a08f434 100644 --- a/docs/libs/png.md +++ b/docs/libs/png.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/libs/png.md ``` # PNG decoder diff --git a/docs/libs/qrcode.md b/docs/libs/qrcode.md index 774538cf8..fc3c03ecb 100644 --- a/docs/libs/qrcode.md +++ b/docs/libs/qrcode.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/libs/qrcode.md ``` # QR code diff --git a/docs/libs/rlottie.md b/docs/libs/rlottie.md index 4dc1a44c4..c9d43d60d 100644 --- a/docs/libs/rlottie.md +++ b/docs/libs/rlottie.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/libs/rlottie.md ``` diff --git a/docs/libs/sjpg.md b/docs/libs/sjpg.md index 055e6328e..8b6d77592 100644 --- a/docs/libs/sjpg.md +++ b/docs/libs/sjpg.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/libs/sjpg.md ``` # JPG decoder diff --git a/docs/others/fragment.md b/docs/others/fragment.md index 3a591dc41..2fc072391 100644 --- a/docs/others/fragment.md +++ b/docs/others/fragment.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/others/fragment.md ``` # Fragment diff --git a/docs/others/gridnav.md b/docs/others/gridnav.md index 0bb3d7416..b339ff3c7 100644 --- a/docs/others/gridnav.md +++ b/docs/others/gridnav.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/others/gridnav.md ``` # Grid navigation diff --git a/docs/others/imgfont.md b/docs/others/imgfont.md index 6d6ba6171..fad3d978f 100644 --- a/docs/others/imgfont.md +++ b/docs/others/imgfont.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/others/imgfont.md ``` ## Image font (imgfont) Draw image in label or span obj with imgfont. diff --git a/docs/others/index.md b/docs/others/index.md index a33305eac..28b97fbe3 100644 --- a/docs/others/index.md +++ b/docs/others/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/others/index.md ``` # Others diff --git a/docs/others/monkey.md b/docs/others/monkey.md index 516f5f308..88d75d1d2 100644 --- a/docs/others/monkey.md +++ b/docs/others/monkey.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/others/monkey.md ``` # Monkey diff --git a/docs/others/msg.md b/docs/others/msg.md index 1aa0e130e..28803cdae 100644 --- a/docs/others/msg.md +++ b/docs/others/msg.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/others/msg.md ``` # Messaging diff --git a/docs/others/snapshot.md b/docs/others/snapshot.md index 19c1a1c4a..8b6d38f2f 100644 --- a/docs/others/snapshot.md +++ b/docs/others/snapshot.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/others/snapshot.md ``` # Snapshot diff --git a/docs/overview/animation.md b/docs/overview/animation.md index 13d9aa520..a23313d6d 100644 --- a/docs/overview/animation.md +++ b/docs/overview/animation.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/animation.md ``` # Animations diff --git a/docs/overview/color.md b/docs/overview/color.md index 52e9dd871..8d6637219 100644 --- a/docs/overview/color.md +++ b/docs/overview/color.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/color.md ``` # Colors diff --git a/docs/overview/coords.md b/docs/overview/coords.md index 9b7219779..9e7c48392 100644 --- a/docs/overview/coords.md +++ b/docs/overview/coords.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/coords.md ``` # Positions, sizes, and layouts diff --git a/docs/overview/display.md b/docs/overview/display.md index 2f9074703..35fa12b70 100644 --- a/docs/overview/display.md +++ b/docs/overview/display.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/display.md ``` # Displays diff --git a/docs/overview/drawing.md b/docs/overview/drawing.md index 3dd86bac4..eb9650ad9 100644 --- a/docs/overview/drawing.md +++ b/docs/overview/drawing.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/drawing.md ``` # Drawing diff --git a/docs/overview/event.md b/docs/overview/event.md index 356f28b1e..b74607737 100644 --- a/docs/overview/event.md +++ b/docs/overview/event.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/event.md ``` # Events diff --git a/docs/overview/file-system.md b/docs/overview/file-system.md index 367f55428..806370273 100644 --- a/docs/overview/file-system.md +++ b/docs/overview/file-system.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/file-system.md ``` # File system diff --git a/docs/overview/font.md b/docs/overview/font.md index a9b26f9ce..160c11cfa 100644 --- a/docs/overview/font.md +++ b/docs/overview/font.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/font.md ``` # Fonts diff --git a/docs/overview/image.md b/docs/overview/image.md index 584361582..271b1cad3 100644 --- a/docs/overview/image.md +++ b/docs/overview/image.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/image.md ``` # Images diff --git a/docs/overview/indev.md b/docs/overview/indev.md index c64365090..648afec1c 100644 --- a/docs/overview/indev.md +++ b/docs/overview/indev.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/indev.md ``` # Input devices diff --git a/docs/overview/index.md b/docs/overview/index.md index 5fd52b044..b1e92bf21 100644 --- a/docs/overview/index.md +++ b/docs/overview/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/index.md ``` # Overview diff --git a/docs/overview/layer.md b/docs/overview/layer.md index 86d40f685..0c61b7272 100644 --- a/docs/overview/layer.md +++ b/docs/overview/layer.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/layer.md ``` # Layers diff --git a/docs/overview/new_widget.md b/docs/overview/new_widget.md index d79954015..5d014d324 100644 --- a/docs/overview/new_widget.md +++ b/docs/overview/new_widget.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/new_widget.md ``` # New widget diff --git a/docs/overview/object.md b/docs/overview/object.md index d5850c02f..0c5de02b4 100644 --- a/docs/overview/object.md +++ b/docs/overview/object.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/object.md ``` # Objects diff --git a/docs/overview/renderers/arm-2d.md b/docs/overview/renderers/arm-2d.md index e05d127f8..29e3d6cbe 100644 --- a/docs/overview/renderers/arm-2d.md +++ b/docs/overview/renderers/arm-2d.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/renderers/arm-2d.md ``` # ARM-2D GPU diff --git a/docs/overview/renderers/dma2d.md b/docs/overview/renderers/dma2d.md index 5567fcaa7..8e0fd7c5d 100644 --- a/docs/overview/renderers/dma2d.md +++ b/docs/overview/renderers/dma2d.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/renderers/dma2d.md ``` # DMA2D GPU diff --git a/docs/overview/renderers/index.md b/docs/overview/renderers/index.md index a4c297477..1488654c3 100644 --- a/docs/overview/renderers/index.md +++ b/docs/overview/renderers/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/renderers/index.md ``` # Renderers and GPUs diff --git a/docs/overview/renderers/pxp-vglite.md b/docs/overview/renderers/pxp-vglite.md index a571ffbc6..c409cbb55 100644 --- a/docs/overview/renderers/pxp-vglite.md +++ b/docs/overview/renderers/pxp-vglite.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/renderers/pxp-vglite.md ``` # NXP PXP and VGLite GPU diff --git a/docs/overview/renderers/sdl.md b/docs/overview/renderers/sdl.md index e6ba32103..e9c1107c0 100644 --- a/docs/overview/renderers/sdl.md +++ b/docs/overview/renderers/sdl.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/renderers/sdl.md ``` # SDL renderer diff --git a/docs/overview/renderers/sw.md b/docs/overview/renderers/sw.md index 2af156ae3..36c2741fe 100644 --- a/docs/overview/renderers/sw.md +++ b/docs/overview/renderers/sw.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/renderers/sw.md ``` # Software renderer diff --git a/docs/overview/scroll.md b/docs/overview/scroll.md index c820831e0..d977824cf 100644 --- a/docs/overview/scroll.md +++ b/docs/overview/scroll.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/scroll.md ``` # Scroll diff --git a/docs/overview/style.md b/docs/overview/style.md index defa0cab3..0af4fc4f1 100644 --- a/docs/overview/style.md +++ b/docs/overview/style.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/style.md ``` # Styles diff --git a/docs/overview/timer.md b/docs/overview/timer.md index 9088940ce..2d891b08b 100644 --- a/docs/overview/timer.md +++ b/docs/overview/timer.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/overview/timer.md ``` # Timers diff --git a/docs/porting/display.md b/docs/porting/display.md index 78438ba2e..674aa73f0 100644 --- a/docs/porting/display.md +++ b/docs/porting/display.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/porting/display.md ``` # Display interface diff --git a/docs/porting/gpu.md b/docs/porting/gpu.md index d13b3994a..ad4e814b5 100644 --- a/docs/porting/gpu.md +++ b/docs/porting/gpu.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/porting/gpu.md ``` # Add custom GPU LVGL has a flexible and extendable draw pipeline. You can hook it to do some rendering with a GPU or even completely replace the built-in software renderer. diff --git a/docs/porting/indev.md b/docs/porting/indev.md index d519fffe7..0ec671d15 100644 --- a/docs/porting/indev.md +++ b/docs/porting/indev.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/porting/indev.md ``` # Input device interface diff --git a/docs/porting/index.md b/docs/porting/index.md index f118532a5..1abef3545 100644 --- a/docs/porting/index.md +++ b/docs/porting/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/porting/index.md ``` # Porting diff --git a/docs/porting/log.md b/docs/porting/log.md index 76dfcba35..ea60d321a 100644 --- a/docs/porting/log.md +++ b/docs/porting/log.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/porting/log.md ``` # Logging diff --git a/docs/porting/os.md b/docs/porting/os.md index 30d5de391..3cd04e98a 100644 --- a/docs/porting/os.md +++ b/docs/porting/os.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/porting/os.md ``` # Operating system and interrupts diff --git a/docs/porting/project.md b/docs/porting/project.md index e62bcb48e..7a055dab1 100644 --- a/docs/porting/project.md +++ b/docs/porting/project.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/porting/project.md ``` # Set up a project diff --git a/docs/porting/sleep.md b/docs/porting/sleep.md index 42c637718..71ae340d7 100644 --- a/docs/porting/sleep.md +++ b/docs/porting/sleep.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/porting/sleep.md ``` # Sleep management diff --git a/docs/porting/tick.md b/docs/porting/tick.md index 74ea252c7..9dc44cf10 100644 --- a/docs/porting/tick.md +++ b/docs/porting/tick.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/porting/tick.md ``` # Tick interface diff --git a/docs/porting/timer-handler.md b/docs/porting/timer-handler.md index 7240dd42e..1d4776e5d 100644 --- a/docs/porting/timer-handler.md +++ b/docs/porting/timer-handler.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/porting/timer-handler.md ``` # Timer Handler diff --git a/docs/widgets/core/arc.md b/docs/widgets/core/arc.md index 5f30747b8..fbf94ff7f 100644 --- a/docs/widgets/core/arc.md +++ b/docs/widgets/core/arc.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/arc.md ``` # Arc (lv_arc) diff --git a/docs/widgets/core/bar.md b/docs/widgets/core/bar.md index 674b87104..451a45ef7 100644 --- a/docs/widgets/core/bar.md +++ b/docs/widgets/core/bar.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/bar.md ``` # Bar (lv_bar) diff --git a/docs/widgets/core/btn.md b/docs/widgets/core/btn.md index 6148f2f2a..13aeb6400 100644 --- a/docs/widgets/core/btn.md +++ b/docs/widgets/core/btn.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/btn.md ``` # Button (lv_btn) diff --git a/docs/widgets/core/btnmatrix.md b/docs/widgets/core/btnmatrix.md index 236d9d4d7..9a97d81d0 100644 --- a/docs/widgets/core/btnmatrix.md +++ b/docs/widgets/core/btnmatrix.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/btnmatrix.md ``` # Button matrix (lv_btnmatrix) diff --git a/docs/widgets/core/canvas.md b/docs/widgets/core/canvas.md index efb03e46a..0b2ae8c98 100644 --- a/docs/widgets/core/canvas.md +++ b/docs/widgets/core/canvas.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/canvas.md ``` # Canvas (lv_canvas) diff --git a/docs/widgets/core/checkbox.md b/docs/widgets/core/checkbox.md index 75f5ff9dd..0cf55ca4a 100644 --- a/docs/widgets/core/checkbox.md +++ b/docs/widgets/core/checkbox.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/checkbox.md ``` # Checkbox (lv_checkbox) diff --git a/docs/widgets/core/dropdown.md b/docs/widgets/core/dropdown.md index 1d01645b6..c6c05d63f 100644 --- a/docs/widgets/core/dropdown.md +++ b/docs/widgets/core/dropdown.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/dropdown.md ``` # Drop-down list (lv_dropdown) diff --git a/docs/widgets/core/img.md b/docs/widgets/core/img.md index bd6b90a30..e664ebe2b 100644 --- a/docs/widgets/core/img.md +++ b/docs/widgets/core/img.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/img.md ``` # Image (lv_img) diff --git a/docs/widgets/core/index.md b/docs/widgets/core/index.md index 38cec5555..33eeb2d45 100644 --- a/docs/widgets/core/index.md +++ b/docs/widgets/core/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/object-types/index.md ``` # Core widgets diff --git a/docs/widgets/core/label.md b/docs/widgets/core/label.md index 7681a0abc..e7eb29050 100644 --- a/docs/widgets/core/label.md +++ b/docs/widgets/core/label.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/core/label.md ``` # Label (lv_label) diff --git a/docs/widgets/core/line.md b/docs/widgets/core/line.md index 185cb4d18..9009d9ea4 100644 --- a/docs/widgets/core/line.md +++ b/docs/widgets/core/line.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/line.md ``` # Line (lv_line) diff --git a/docs/widgets/core/roller.md b/docs/widgets/core/roller.md index 08ada8125..c6c74d6b3 100644 --- a/docs/widgets/core/roller.md +++ b/docs/widgets/core/roller.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/roller.md ``` # Roller (lv_roller) diff --git a/docs/widgets/core/slider.md b/docs/widgets/core/slider.md index c5bccc8b9..7e5663075 100644 --- a/docs/widgets/core/slider.md +++ b/docs/widgets/core/slider.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/slider.md ``` # Slider (lv_slider) diff --git a/docs/widgets/core/switch.md b/docs/widgets/core/switch.md index c42b8e870..58ce9196e 100644 --- a/docs/widgets/core/switch.md +++ b/docs/widgets/core/switch.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/switch.md ``` # Switch (lv_switch) diff --git a/docs/widgets/core/table.md b/docs/widgets/core/table.md index 9fc8968fd..0e3f467a8 100644 --- a/docs/widgets/core/table.md +++ b/docs/widgets/core/table.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/table.md ``` # Table (lv_table) diff --git a/docs/widgets/core/textarea.md b/docs/widgets/core/textarea.md index 558a38706..cde811184 100644 --- a/docs/widgets/core/textarea.md +++ b/docs/widgets/core/textarea.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/core/textarea.md ``` # Text area (lv_textarea) diff --git a/docs/widgets/extra/animimg.md b/docs/widgets/extra/animimg.md index 2aee9fc04..78574938c 100644 --- a/docs/widgets/extra/animimg.md +++ b/docs/widgets/extra/animimg.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/animimg.md ``` # Animation Image (lv_animimg) diff --git a/docs/widgets/extra/calendar.md b/docs/widgets/extra/calendar.md index e6155efc4..f2d55a73c 100644 --- a/docs/widgets/extra/calendar.md +++ b/docs/widgets/extra/calendar.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/calendar.md ``` # Calendar (lv_calendar) diff --git a/docs/widgets/extra/chart.md b/docs/widgets/extra/chart.md index 573c950f5..dc56e0e0c 100644 --- a/docs/widgets/extra/chart.md +++ b/docs/widgets/extra/chart.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/chart.md ``` # Chart (lv_chart) diff --git a/docs/widgets/extra/colorwheel.md b/docs/widgets/extra/colorwheel.md index 887f34448..52e5af196 100644 --- a/docs/widgets/extra/colorwheel.md +++ b/docs/widgets/extra/colorwheel.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/colorwheel.md ``` # Color wheel (lv_colorwheel) diff --git a/docs/widgets/extra/imgbtn.md b/docs/widgets/extra/imgbtn.md index 886df9a35..e6a8f1e8a 100644 --- a/docs/widgets/extra/imgbtn.md +++ b/docs/widgets/extra/imgbtn.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/imgbtn.md ``` # Image button (lv_imgbtn) diff --git a/docs/widgets/extra/index.md b/docs/widgets/extra/index.md index 75bb9ed89..04f5d7d35 100644 --- a/docs/widgets/extra/index.md +++ b/docs/widgets/extra/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/object-types/index.md ``` # Extra widgets diff --git a/docs/widgets/extra/keyboard.md b/docs/widgets/extra/keyboard.md index 53e7fc1e5..7fcbdee9c 100644 --- a/docs/widgets/extra/keyboard.md +++ b/docs/widgets/extra/keyboard.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/keyboard.md ``` diff --git a/docs/widgets/extra/led.md b/docs/widgets/extra/led.md index 7c7a6b1bc..e95910d4a 100644 --- a/docs/widgets/extra/led.md +++ b/docs/widgets/extra/led.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/led.md ``` # LED (lv_led) diff --git a/docs/widgets/extra/list.md b/docs/widgets/extra/list.md index beacad441..d25b4a185 100644 --- a/docs/widgets/extra/list.md +++ b/docs/widgets/extra/list.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/list.md ``` # List (lv_list) diff --git a/docs/widgets/extra/menu.md b/docs/widgets/extra/menu.md index d5ac0d3f2..5d76ce190 100644 --- a/docs/widgets/extra/menu.md +++ b/docs/widgets/extra/menu.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/menu.md ``` # Menu (lv_menu) diff --git a/docs/widgets/extra/meter.md b/docs/widgets/extra/meter.md index 164b29565..f72dde46e 100644 --- a/docs/widgets/extra/meter.md +++ b/docs/widgets/extra/meter.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/meter.md ``` # Meter (lv_meter) diff --git a/docs/widgets/extra/msgbox.md b/docs/widgets/extra/msgbox.md index 259100322..a08f809a8 100644 --- a/docs/widgets/extra/msgbox.md +++ b/docs/widgets/extra/msgbox.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/msgbox.md ``` # Message box (lv_msgbox) diff --git a/docs/widgets/extra/span.md b/docs/widgets/extra/span.md index 58e3ff763..e188b5a29 100644 --- a/docs/widgets/extra/span.md +++ b/docs/widgets/extra/span.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/span.md ``` # Span (lv_span) diff --git a/docs/widgets/extra/spinbox.md b/docs/widgets/extra/spinbox.md index 03fab93df..6fddcd161 100644 --- a/docs/widgets/extra/spinbox.md +++ b/docs/widgets/extra/spinbox.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/spinbox.md ``` # Spinbox (lv_spinbox) diff --git a/docs/widgets/extra/spinner.md b/docs/widgets/extra/spinner.md index a2c577cd2..bbdaf5977 100644 --- a/docs/widgets/extra/spinner.md +++ b/docs/widgets/extra/spinner.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/spinner.md ``` # Spinner (lv_spinner) diff --git a/docs/widgets/extra/tabview.md b/docs/widgets/extra/tabview.md index a2761a1bb..9324c02ea 100644 --- a/docs/widgets/extra/tabview.md +++ b/docs/widgets/extra/tabview.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/tabview.md ``` # Tabview (lv_tabview) diff --git a/docs/widgets/extra/tileview.md b/docs/widgets/extra/tileview.md index 3e3818dce..4d5f09740 100644 --- a/docs/widgets/extra/tileview.md +++ b/docs/widgets/extra/tileview.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/tileview.md ``` # Tile view (lv_tileview) diff --git a/docs/widgets/extra/win.md b/docs/widgets/extra/win.md index 7e4c86e7f..6121f5d1b 100644 --- a/docs/widgets/extra/win.md +++ b/docs/widgets/extra/win.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/extra/win.md ``` # Window (lv_win) diff --git a/docs/widgets/index.md b/docs/widgets/index.md index ff8714b1b..146572eab 100644 --- a/docs/widgets/index.md +++ b/docs/widgets/index.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/object-types/index.md ``` # Widgets diff --git a/docs/widgets/obj.md b/docs/widgets/obj.md index 4bb109018..b8aeeb8be 100644 --- a/docs/widgets/obj.md +++ b/docs/widgets/obj.md @@ -1,6 +1,4 @@ ```eval_rst -.. include:: /header.rst -:github_url: |github_link_base|/widgets/obj.md ``` # Base object (lv_obj)