aboutsummaryrefslogtreecommitdiff
path: root/docs/_ext/lv_example.py
diff options
context:
space:
mode:
authorXiang Xiao <xiaoxiang@xiaomi.com>2022-03-21 18:25:51 +0800
committerGitHub <noreply@github.com>2022-03-21 11:25:51 +0100
commit4c4f954059cfc17cefe846094b3b7e6fb9d0be65 (patch)
tree30bd1123fa419889070ab9d9afe0c6200eda5fc8 /docs/_ext/lv_example.py
parent46bd054ad45822c8c2bb079028a43fc3e1967623 (diff)
downloadlvgl-4c4f954059cfc17cefe846094b3b7e6fb9d0be65.tar.gz
lvgl-4c4f954059cfc17cefe846094b3b7e6fb9d0be65.zip
chore(style): remove the trailing space from all source files (#3188)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Diffstat (limited to 'docs/_ext/lv_example.py')
-rw-r--r--docs/_ext/lv_example.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_ext/lv_example.py b/docs/_ext/lv_example.py
index 08fcf9f52..d4db6a08c 100644
--- a/docs/_ext/lv_example.py
+++ b/docs/_ext/lv_example.py
@@ -57,7 +57,7 @@ class LvExample(Directive):
env = self.state.document.settings.env
iframe_html = ""
-
+
c_path = self.get_example_code_path(example_path, 'c')
py_path = self.get_example_code_path(example_path, 'py')
@@ -69,7 +69,7 @@ class LvExample(Directive):
'<i class="fa fa-play"></i>&nbsp;Simulator': f"https://sim.lvgl.io/v{env.config.version}/micropython/ports/javascript/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lvgl/{env.config.repo_commit_hash}/examples/header.py&script=https://raw.githubusercontent.com/lvgl/lvgl/{env.config.repo_commit_hash}/examples/{example_path}.py"
})
- if not 'c' in excluded_languages:
+ if not 'c' in excluded_languages:
if env.app.tags.has('html'):
iframe_html = f"<div class='lv-example' data-real-src='/{env.config.version}/_static/built_lv_examples?example={example_name}&w=320&h=240'></div>"