From e65a36fcf4cdc2477ab2a65ae9391c3b52114540 Mon Sep 17 00:00:00 2001 From: Themba Dube Date: Wed, 19 May 2021 09:05:05 -0400 Subject: [PATCH] chore(docs) remove unused code --- docs/_ext/lv_example.py | 5 ----- 1 file changed, 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',