Python sphinx.ext.autodoc.ClassDocumenter() Examples

The following are 7 code examples of sphinx.ext.autodoc.ClassDocumenter(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module sphinx.ext.autodoc , or try the search function .
Example #1
Source File: conf.py    From mote with MIT License 5 votes vote down vote up
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) 
Example #2
Source File: conf.py    From scroll-phat with MIT License 5 votes vote down vote up
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) 
Example #3
Source File: conf.py    From pantilt-hat with MIT License 5 votes vote down vote up
def __init__(self, directive, name, indent=u''):
        # Monkey path the Method and Function documenters
        sphinx_app.add_autodocumenter(OutlineMethodDocumenter)
        sphinx_app.add_autodocumenter(OutlineFunctionDocumenter)
        autodoc.ClassDocumenter.__init__(self, directive, name, indent) 
Example #4
Source File: conf.py    From fourletter-phat with MIT License 5 votes vote down vote up
def __init__(self, directive, name, indent=u''):
        # Monkey patch the Method and Function documenters
        sphinx_app.add_autodocumenter(OutlineMethodDocumenter)
        #sphinx_app.add_autodocumenter(OutlineClassDocumenter)
        sphinx_app.add_autodocumenter(OutlineFunctionDocumenter)
        autodoc.ClassDocumenter.__init__(self, directive, name, indent) 
Example #5
Source File: conf.py    From fourletter-phat with MIT License 5 votes vote down vote up
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) 
Example #6
Source File: conf.py    From microdot-phat with MIT License 5 votes vote down vote up
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) 
Example #7
Source File: conf.py    From scroll-phat-hd with MIT License 5 votes vote down vote up
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)