提交 bf56d032 编写于 作者: T tink2123

delete en2zn link

上级 fe2e24ce
...@@ -86,7 +86,6 @@ class DocGenerator(object): ...@@ -86,7 +86,6 @@ class DocGenerator(object):
:noindex: :noindex:
'''.format(self.module_name, name)) '''.format(self.module_name, name))
self._print_cn_ref(name)
def print_method(self, name): def print_method(self, name):
self._print_ref_(name) self._print_ref_(name)
...@@ -95,7 +94,6 @@ class DocGenerator(object): ...@@ -95,7 +94,6 @@ class DocGenerator(object):
:noindex: :noindex:
'''.format(self.module_name, name)) '''.format(self.module_name, name))
self._print_cn_ref(name)
def _print_header_(self, name, dot, is_title): def _print_header_(self, name, dot, is_title):
dot_line = dot * len(name) dot_line = dot * len(name)
...@@ -111,9 +109,6 @@ class DocGenerator(object): ...@@ -111,9 +109,6 @@ class DocGenerator(object):
def _print_ref_(self, name): def _print_ref_(self, name):
self.stream.write(".. _api_{0}_{1}:\n\n".format("_".join( self.stream.write(".. _api_{0}_{1}:\n\n".format("_".join(
self.module_name.split(".")), name)) self.module_name.split(".")), name))
def _print_cn_ref(self, name):
self.stream.write("Read Chinese Version: :ref:`cn_api_{0}_{1}`\n\n".format("_".join(
self.module_name.split(".")),name))
def main(): def main():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册