aboutsummaryrefslogtreecommitdiff
path: root/docs/_ext/lv_example.py
diff options
context:
space:
mode:
authorGabor Kiss-Vamosi <kisvegabor@gmail.com>2021-06-07 22:52:17 +0200
committerGitHub <noreply@github.com>2021-06-07 22:52:17 +0200
commit75209e893e89b6aa9d6a231af4661ce6a6dd6161 (patch)
treea7e5be34ea3793fd2b36ed232bd2121eca0d137a /docs/_ext/lv_example.py
parenta716ac6ed267e0a2e019fe7d2fda1bef0046cdc7 (diff)
downloadlvgl-75209e893e89b6aa9d6a231af4661ce6a6dd6161.tar.gz
lvgl-75209e893e89b6aa9d6a231af4661ce6a6dd6161.zip
chore(docs) minor formatting on example's GitHub link
Diffstat (limited to 'docs/_ext/lv_example.py')
-rw-r--r--docs/_ext/lv_example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_ext/lv_example.py b/docs/_ext/lv_example.py
index a451890c1..d50851850 100644
--- a/docs/_ext/lv_example.py
+++ b/docs/_ext/lv_example.py
@@ -33,7 +33,7 @@ class LvExample(Directive):
literal_list = nodes.literal_block(contents, contents)
literal_list['language'] = language
toggle.append(literal_list)
- header.append(nodes.raw(text=f"<p>code (<a class='fa fa-github' href='https://github.com/lvgl/lvgl/blob/{env.config.repo_commit_hash}/examples/{example_path}.{language}'>view on GitHub</a>)</p>", format='html'))
+ header.append(nodes.raw(text=f"<p>code &nbsp; <a class='fa fa-github' href='https://github.com/lvgl/lvgl/blob/{env.config.repo_commit_hash}/examples/{example_path}.{language}'>&nbsp; view on GitHub</a></p>", format='html'))
if env.app.tags.has('html'):
node_list.append(paragraph_node)
node_list.append(toggle)