t.p._.SphinxBuilder(object) : class documentation

Part of twisted.python._release View Source View In Hierarchy

Generate HTML documentation using Sphinx.

Generates and runs a shell command that looks something like:

   sphinx-build -b html -d [BUILDDIR]/doctrees
                           [DOCDIR]/source
                           [BUILDDIR]/html

where DOCDIR is a directory containing another directory called "source" which contains the Sphinx source files, and BUILDDIR is the directory in which the Sphinx output will be created.

Method main Build the main documentation.
Method build Build the documentation in docDir with Sphinx.
def main(self, args): (source)
Build the main documentation.
ParametersargsThe command line arguments to process. This must contain one string argument: the path to the root of a Twisted checkout. Additional arguments will be ignored for compatibility with legacy build infrastructure. (type: list of str)
def build(self, docDir, buildDir=None, version=''): (source)
Build the documentation in docDir with Sphinx.
ParametersdocDirThe directory of the documentation. This is a directory which contains another directory called "source" which contains the Sphinx "conf.py" file and sphinx source documents. (type: twisted.python.filepath.FilePath)
buildDirThe directory to build the documentation in. By default this will be a child directory of {docDir} named "build". (type: twisted.python.filepath.FilePath)
versionThe version of Twisted to set in the docs. (type: str)
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.