From eda511171dfc6cc7b88967b5a4c33ceeae915d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Mon, 16 May 2022 23:28:59 +0200 Subject: [PATCH] Ignore result blocks. --- scripts/generate.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/generate.py b/scripts/generate.py index 05e5951..e8f1f1b 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -205,6 +205,13 @@ def render_code_block(element, acc): acc.append(html.escape(element.lines)) acc.append('') +def render_results_block(element, acc): + # TODO: + # acc.append('
')
+    # render_tree(element.children, acc)
+    # acc.append('
') + pass + def render_text(element, acc): acc.append('') @@ -240,6 +247,7 @@ def render_tag(element, acc): dom.ListItem: render_list_item, dom.CodeBlock: render_code_block, dom.Text: render_text, + dom.ResultsDrawerNode: render_results_block, }[type(element)](element, acc)