diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index f3ffee9ca8..8945b47f9c 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 2bf9aba689..7a1f7979fb 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 574568cc82..07b49715ce 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 c968ce673d..c65554e335 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 0b2225c1c5..1aa748704c 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 b1620e37d5..9180ffc77e 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 9ae738aa5a..f8f0b43fee 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 0379c29980..0f46561b9f 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 0cc6d4519e..e54a529bee 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 eff37b7d58..92fab6d046 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 dd2bb1af77..8e164a4c6e 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 4f6ec77bdc..dfdf44c4e7 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 32abd3d2d3..a1ee4fcc57 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 259655371f..06323c2092 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 11e82efbec..13685b0648 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 45088159a2..d37c1be7f5 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 35306fdfcb..f61c3eaa80 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 b2fe1979d5..b3ad754501 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 6fae0732aa..71243147b4 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 aa9c31d6f5..ff10c3a1b2 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 9e74221ce0..e1d4502386 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 6d6167d243..0607b795e3 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 1ae003bae7..0000000000 --- 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 a7cb046b93..9e48ad8ff2 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 c4328a1d28..1a19b70912 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 22ef804c9b..09a2c7cfe0 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 631777d6e7..f1024287a9 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 da1606dcd7..0576c1ffca 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 2fe6d20e98..1e713978d1 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 f32ab75998..c2527938ef 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 fcdc37dce2..3d4da80b17 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 136b57b944..78ac1caccd 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 43294e6d88..1d2cda87d5 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 ae7dac56af..ba326a2084 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 3066080406..b6a08f4341 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 774538cf83..fc3c03ecbb 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 4dc1a44c42..c9d43d60db 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 055e6328e3..8b6d775926 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 3a591dc417..2fc072391b 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 0bb3d74165..b339ff3c73 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 6d6ba6171e..fad3d978fb 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 a33305eacb..28b97fbe37 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 516f5f3083..88d75d1d22 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 1aa0e130e4..28803cdae1 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 19c1a1c4ad..8b6d38f2f3 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 13d9aa520d..a23313d6df 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 52e9dd871f..8d66372195 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 9b7219779f..9e7c483920 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 2f90747037..35fa12b70e 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 3dd86bac46..eb9650ad97 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 356f28b1e7..b746077374 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 367f554282..806370273a 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 a9b26f9cea..160c11cfa9 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 5843615820..271b1cad30 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 c64365090f..648afec1c7 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 5fd52b0447..b1e92bf215 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 86d40f685c..0c61b72728 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 d799540150..5d014d3241 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 d5850c02fd..0c5de02b4c 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 e05d127f82..29e3d6cbea 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 5567fcaa7d..8e0fd7c5d9 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 a4c2974774..1488654c35 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 a571ffbc63..c409cbb55c 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 e6ba321037..e9c1107c05 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 2af156ae32..36c2741fe6 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 c820831e07..d977824cff 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 defa0cab38..0af4fc4f18 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 9088940ce9..2d891b08b6 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 78438ba2e4..674aa73f0c 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 d13b3994ab..ad4e814b59 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 d519fffe7f..0ec671d153 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 f118532a5c..1abef3545d 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 76dfcba354..ea60d321a5 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 30d5de391f..3cd04e98ab 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 e62bcb48ef..7a055dab15 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 42c637718c..71ae340d75 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 74ea252c76..9dc44cf103 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 7240dd42e3..1d4776e5d2 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 5f30747b89..fbf94ff7f1 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 674b871040..451a45ef75 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 6148f2f2ae..13aeb6400c 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 236d9d4d76..9a97d81d01 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 efb03e46a3..0b2ae8c983 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 75f5ff9dd6..0cf55ca4ab 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 1d01645b67..c6c05d63f4 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 bd6b90a30e..e664ebe2b6 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 38cec55556..33eeb2d452 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 7681a0abc3..e7eb290500 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 185cb4d185..9009d9ea4a 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 08ada81257..c6c74d6b34 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 c5bccc8b99..7e56630752 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 c42b8e8700..58ce9196e2 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 9fc8968fd8..0e3f467a82 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 558a38706e..cde811184b 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 2aee9fc04c..78574938c1 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 e6155efc4f..f2d55a73c4 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 573c950f55..dc56e0e0cc 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 887f344480..52e5af1969 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 886df9a352..e6a8f1e8a6 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 75bb9ed896..04f5d7d357 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 53e7fc1e5f..7fcbdee9c0 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 7c7a6b1bc2..e95910d4a3 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 beacad4415..d25b4a1858 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 d5ac0d3f2f..5d76ce190c 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 164b295655..f72dde46ea 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 2591003227..a08f809a83 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 58e3ff7638..e188b5a295 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 03fab93df9..6fddcd161d 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 a2c577cd23..bbdaf59777 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 a2761a1bb2..9324c02eac 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 3e3818dce2..4d5f097406 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 7e4c86e7fe..6121f5d1b3 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 ff8714b1bd..146572eab1 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 4bb109018a..b8aeeb8be5 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)