Comments (16)
I gave up on translations because:
- can't find a really good online translation manager site
- there was no activity among translators on the forum
- it was really difficult to version control based translations. There were a lot of non-sense conflicts even only with the English "translation"
Although, I've prepared the docs' structure to support translations (that's why the en
folder).
So short answer: No translation 🙂
from lv_demos.
@kisvegabor It's because it relies on the Emscripten project for building, and that project is using a version of LVGL that is "too old".
I've looked into how we can fix this. We need to push the standard release commits to the various projects with [skip ci]
in the title. This will prevent any of the GitHub actions from running right away. Then, we need to update all the submodules on the Emscripten project. Finally, we should push another dummy commit to all the projects (with --allow-empty
) to trigger the GitHub action.
This will ensure that the Emscripten project is up-to-date before any actions run.
from lv_demos.
You can see an example of me doing this manually here: https://github.com/lvgl/lv_examples/actions
First I pushed 74af040 which was tagged to prevent the examples from being built right away. Then I went to update the Emscripten project to that commit. Finally I pushed 6c08067, which is empty, but still triggers GitHub actions.
EDIT: The examples are back now.
from lv_demos.
Thank you for fixing it!
But if I understand correctly all examples for all lvgl version uses the same HTML files from the gh-pages
branch. So if we will have new examples for v8 how can we separate them from v7 examples?
It seems we should have folders for at least each major release in gh-pages
.
We can add automatic releases to lv_sim_emscripten
and the action update to the release branches.
What do you think?
from lv_demos.
@embeddedt
lv_sim_emscripten
is updated to the release branches of lvgl
, lv_examples
, and lv_drivers
.
But if I understand correctly all examples for all lvgl version uses the same HTML files from the gh-pages branch. So if we will have new examples for v8 how can we separate them from v7 examples?
It seems we should have folders for at least each major release in gh-pages.
Could you comment on this?
I haven't updated the docs because wasn't sure needs to be done to make the examples work.
from lv_demos.
Hmm.. somehow your previous message disappeared.
Probably it's best for Sphinx to fetch an HTML version of lv_examples
and store them in the docs repository. I will make those changes soon.
from lv_demos.
Probably it's best for Sphinx to fetch an HTML version of lv_examples and store them in the docs repository. I will make those changes soon.
That would be perfect!
from lv_demos.
I pushed this to latest
(not sure how to rebuild it). An important caveat to be aware of: currently I have it set up to scan the deploy commits from https://github.com/lvgl/lv_examples/tree/gh-pages. This means that if you update the lv_examples
submodule to a really recent commit (e.g. in the last 15 minutes), it will fail to find a deployed version (as GitHub Actions takes about 15 minutes to finish rebuilding).
I did check the release script and it doesn't appear to make any changes to submodules in docs
, so I think releases will work fine.
On another topic: I'd like to set up some type of automation so that when we push changes to the individual branches (latest,
dev, etc.) a built copy is automatically placed in
masterand made available on
docs.lvgl.io`. Would you be open to that? I think it would eliminate the need for a lot of these Python build scripts.
from lv_demos.
Thank you!
I needed to change lv_conf.py
a little bit to make it work with python3.6 too. (I couldn't update sphinx to python3.7).
It compiled but the examples weren't included correctly:
If I click index.html
only white screen appears.
The built examples in _static
also produce only a white screen. Maybe something was missing from the confdef.txt
of the Emscriptem project?
lv_conf.h
goes to 8de356d
commit.
Would you be open to that? I think it would eliminate the need for a lot of these Python build scripts.
Definitely yes!
from lv_demos.
It compiled but the examples weren't included correctly:
That's strange. 😕 Can you try inspecting the iframe in Developer Tools to see what its src
attribute is?
This is what I see:
The built examples in _static also produce only a white screen.
Hmm... they also work for me. Are you testing it using a web server or by opening the files locally?
from lv_demos.
Ahh, I was trying it locally with no webserver. I've pushed it and it works perfectly.
It's soooo great! 😍
So all I need to take care of when making a relase is updating docs more 15 mins after the release, right?
from lv_demos.
15-20 minutes should be more than enough; in the worst case you'll just get an error while trying to rebuild the docs.
from lv_demos.
Perfect, thanks!
from lv_demos.
Is the HTML documentation still being translated? I see that master
only has en
folders.
from lv_demos.
Okay; for now I will write the script with the assumption that English is the only language then.
from lv_demos.
It should be fine for a long time.
from lv_demos.
Related Issues (20)
- please fix lv_demo_music_main.c HOT 1
- error with lv_examples.h in arduino HOT 1
- Using LV_ demo_ benchmark(); During template compilation, the following contents will appear, as if img is not defined? HOT 4
- For which version of LVGL are these demos? HOT 2
- lv_demo_widgets problem - no buffer size info HOT 3
- Add /* clang-format off */ HOT 2
- lv_demo_benchmark causes floating point exception HOT 2
- lv_demo_music_list.c “font_small” and “font_medium” Pointer on const HOT 1
- This [lv_demo_widgets] may not be used strictly. Why const? HOT 1
- time variable naming conflict HOT 1
- we need create this chart, what should i do? HOT 1
- lv_demo_music_main.c implicit declaration of function HOT 2
- #132 breaks build HOT 4
- We try to use shadows to achieve this effect, but how to remove this line HOT 4
- lv_demo_widgets, no member "text_length" HOT 6
- lv_demo_widgets, no display HOT 14
- demo, wrong pixel / lines ( glitched rendering ) HOT 9
- lv_demo_benchmark, Arithmetic exception, in lv_sim_vscode_sdl
- Could you offer a simplest demo? HOT 4
- Would a PR to update to v8.3.1 of lvgl be considered? HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lv_demos.