aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-29 18:08:59 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-29 18:08:59 -0600
commit158c4ae02f902012e09e20434a0b26790a804b35 (patch)
tree9663d000c8d3e921005994280d190a6676ed9cf9
parentc63fa2bbbdde21fb45ea98e3c69bbddbf25097a5 (diff)
downloadspec-158c4ae02f902012e09e20434a0b26790a804b35.tar.gz
spec-158c4ae02f902012e09e20434a0b26790a804b35.zip
un-break gemtext build oops
-rw-r--r--_ext/gemtext_builder.py62
1 files changed, 62 insertions, 0 deletions
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'