本文整理汇总了Python中sphinx.ext.autodoc.FunctionDocumenter方法的典型用法代码示例。如果您正苦于以下问题:Python autodoc.FunctionDocumenter方法的具体用法?Python autodoc.FunctionDocumenter怎么用?Python autodoc.FunctionDocumenter使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类sphinx.ext.autodoc
的用法示例。
在下文中一共展示了autodoc.FunctionDocumenter方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __del__
# 需要导入模块: from sphinx.ext import autodoc [as 别名]
# 或者: from sphinx.ext.autodoc import FunctionDocumenter [as 别名]
def __del__(self):
# Return the Method and Function documenters to normal
sphinx_app.add_autodocumenter(autodoc.MethodDocumenter)
sphinx_app.add_autodocumenter(autodoc.FunctionDocumenter)
示例2: __del__
# 需要导入模块: from sphinx.ext import autodoc [as 别名]
# 或者: from sphinx.ext.autodoc import FunctionDocumenter [as 别名]
def __del__(self):
# Return the Method and Function documenters to normal
sphinx_app.add_autodocumenter(autodoc.ClassDocumenter)
sphinx_app.add_autodocumenter(autodoc.MethodDocumenter)
sphinx_app.add_autodocumenter(autodoc.FunctionDocumenter)
示例3: __del__
# 需要导入模块: from sphinx.ext import autodoc [as 别名]
# 或者: from sphinx.ext.autodoc import FunctionDocumenter [as 别名]
def __del__(self):
# Return the Method and Function documenters to normal
sphinx_app.add_autodocumenter(MethodDocumenter)
sphinx_app.add_autodocumenter(autodoc.FunctionDocumenter)
示例4: __del__
# 需要导入模块: from sphinx.ext import autodoc [as 别名]
# 或者: from sphinx.ext.autodoc import FunctionDocumenter [as 别名]
def __del__(self):
# Return the Method and Function documenters to normal
#sphinx_app.add_autodocumenter(autodoc.ClassDocumenter)
sphinx_app.add_autodocumenter(MethodDocumenter)
sphinx_app.add_autodocumenter(autodoc.FunctionDocumenter)
示例5: add_directive_header
# 需要导入模块: from sphinx.ext import autodoc [as 别名]
# 或者: from sphinx.ext.autodoc import FunctionDocumenter [as 别名]
def add_directive_header(self, sig):
if self.objpath[0] == u"Matrix":
self.objpath[0] = u'scrollphathd'
autodoc.FunctionDocumenter.add_directive_header(self, sig)
示例6: __del__
# 需要导入模块: from sphinx.ext import autodoc [as 别名]
# 或者: from sphinx.ext.autodoc import FunctionDocumenter [as 别名]
def __del__(self):
# Return the Method and Function documenters to normal
# sphinx_app.add_autodocumenter(autodoc.ClassDocumenter)
sphinx_app.add_autodocumenter(MethodDocumenter)
sphinx_app.add_autodocumenter(autodoc.FunctionDocumenter)
示例7: can_document_member
# 需要导入模块: from sphinx.ext import autodoc [as 别名]
# 或者: from sphinx.ext.autodoc import FunctionDocumenter [as 别名]
def can_document_member(cls, member, membername, isattr, parent):
return autodoc.FunctionDocumenter.can_document_member(
member, membername, isattr, parent
) and parent.name == 'graphite_api.functions'