Commits

camlspotter committed 9d34877

fix

Comments (0)

Files changed (2)

extensions/hatenaWriter.py

                isinstance(node.parent, addnodes.seealso):
             self.end_block()
 
-#    def visit_target(self, node):
-#        raise nodes.SkipNode
-#
+    def visit_target(self, node):
+        print "target " + repr(node)
+        self.new_block(Verbose, str(node))
+    def depart_target(self, node):
+        pass
+
 #    def visit_index(self, node):
 #        raise nodes.SkipNode
 #
 #    def depart_pending_xref(self, node):
 #        pass
 #
-    def visit_reference(self, node):
-        pass
-    def depart_reference(self, node):
-        pass
+#    def visit_reference(self, node):
+#        pass
+#    def depart_reference(self, node):
+#        pass
 
 #    def visit_download_reference(self, node):
 #        pass
-.. Sphinx-hatena documentation master file, created by
-   sphinx-quickstart on Fri Feb 11 13:04:38 2011.
-   You can adapt this file completely to your liking, but it should at least
-   contain the root `toctree` directive.
-
-Welcome to Sphinx-hatena's documentation!
+=========================================
+Sphinx extension for Hatena
 =========================================
 
-Contents:
+Now you can write *Hatena drafts* using reST (http://docutils.sourceforge.net/rst.html)! Available at `bitbucket <https://bitbucket.org/camlspotter/sphinx-hatena/>`_.
 
-.. toctree::
-   :maxdepth: 2
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`modindex`
-* :ref:`search`
-