diff options
author | Themba Dube <embeddedthemba@gmail.com> | 2021-05-19 09:05:05 -0400 |
---|---|---|
committer | Themba Dube <embeddedthemba@gmail.com> | 2021-05-19 09:05:05 -0400 |
commit | e65a36fcf4cdc2477ab2a65ae9391c3b52114540 (patch) | |
tree | d4f77d32a570f7231fc3cf98d5255d0d268cb713 /docs/_ext/lv_example.py | |
parent | b34b520885a77ec5b70bb1d3bc8d46a23f896b92 (diff) | |
download | lvgl-e65a36fcf4cdc2477ab2a65ae9391c3b52114540.tar.gz lvgl-e65a36fcf4cdc2477ab2a65ae9391c3b52114540.zip |
chore(docs) remove unused code
Diffstat (limited to 'docs/_ext/lv_example.py')
-rw-r--r-- | docs/_ext/lv_example.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/_ext/lv_example.py b/docs/_ext/lv_example.py index e1181a18a..7c5268fb9 100644 --- a/docs/_ext/lv_example.py +++ b/docs/_ext/lv_example.py @@ -36,15 +36,10 @@ class LvExample(Directive): node_list.append(toggle) return node_list -def on_html_page_context(app, pagename, templatename, context, doctree): - if doctree: - print(doctree.attributes['source']) # Path to .rst file - def setup(app): app.add_directive("lv_example", LvExample) app.add_config_value("example_commit_hash", "", "env") app.add_config_value("built_example_commit_hash", "", "env") - app.connect('html-page-context', on_html_page_context) return { 'version': '0.1', |