aboutsummaryrefslogtreecommitdiff
path: root/_ext
diff options
context:
space:
mode:
Diffstat (limited to '_ext')
-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'