From 158c4ae02f902012e09e20434a0b26790a804b35 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Thu, 29 Oct 2020 18:08:59 -0600 Subject: un-break gemtext build oops --- _ext/gemtext_builder.py | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/_ext/gemtext_builder.py b/_ext/gemtext_builder.py index 13f3cf2..53bc2a1 100644 --- a/_ext/gemtext_builder.py +++ b/_ext/gemtext_builder.py @@ -163,6 +163,68 @@ class GemtextTranslator(SphinxTranslator): self.body.append('```') self.body.append('') self.literal = False + + def visit_index(self, nodes: nodes.Node): + pass + + def depart_index(self, nodes: nodes.Node): + pass + + def visit_desc(self, nodes: nodes.Node): + pass + + def depart_desc(self, nodes: nodes.Node): + pass + + visit_term = visit_list_item + + def depart_term(self, nodes: nodes.Node): + self._finish_line() + + def visit_definition(self, nodes: nodes.Node): + pass + + def depart_definition(self, nodes: nodes.Node): + pass + + visit_desc_signature = visit_term + depart_desc_signature = depart_term + + def visit_desc_name(self, nodes: nodes.Node): + pass + + def depart_desc_name(self, nodes: nodes.Node): + pass + + def visit_desc_content(self, nodes: nodes.Node): + pass + + def depart_desc_content(self, nodes: nodes.Node): + pass + + def visit_glossary(self, nodes: nodes.Node): + pass + + def depart_glossary(self, nodes: nodes.Node): + pass + + def visit_definition_list(self, nodes: nodes.Node): + pass + + def depart_definition_list(self, nodes: nodes.Node): + pass + + def visit_definition_list_item(self, nodes: nodes.Node): + pass + + def depart_definition_list_item(self, nodes: nodes.Node): + pass + + def visit_todo_node(self, nodes: nodes.Node): + pass + + def depart_todo_node(self, nodes: nodes.Node): + pass class GemtextBuilder(Builder): name = 'gmi' -- cgit v1.2.3