From 984e42adf767fa0d13de213375399640a3ee00d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Costa?= Date: Tue, 14 Oct 2025 21:41:56 +0200 Subject: [PATCH] chore: fix examples not showing on docs by fixing path to examplelist.c (#9059) --- scripts/build_html_examples.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/build_html_examples.sh b/scripts/build_html_examples.sh index 8afa61d4b8..b5a8edc0b1 100755 --- a/scripts/build_html_examples.sh +++ b/scripts/build_html_examples.sh @@ -31,8 +31,10 @@ else ln -s -T "$SYMLINK_TARGET" lvgl fi +# Grab the path to emscripten's port examplelist.c before changing to LVGL's directory +EXAMPLE_LIST_C=$(pwd)/examplelist.c cd lvgl -scripts/genexamplelist.sh > ../examplelist.c +scripts/genexamplelist.sh > $EXAMPLE_LIST_C cd .. # Generate lv_conf