aboutsummaryrefslogtreecommitdiff
path: root/docs/_ext/lv_example.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_ext/lv_example.py')
-rw-r--r--docs/_ext/lv_example.py5
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',