2008-03-09 16:32:24 -05:00
|
|
|
.. _builders:
|
|
|
|
|
2008-03-16 06:19:26 -05:00
|
|
|
Available builders
|
|
|
|
==================
|
2008-03-09 16:32:24 -05:00
|
|
|
|
|
|
|
.. module:: sphinx.builder
|
|
|
|
:synopsis: Available built-in builder classes.
|
|
|
|
|
2008-03-16 06:19:26 -05:00
|
|
|
These are the built-in Sphinx builders. More builders can be added by
|
|
|
|
:ref:`extensions <extensions>`.
|
|
|
|
|
|
|
|
The builder's "name" must be given to the **-b** command-line option of
|
|
|
|
:program:`sphinx-build.py` to select a builder.
|
2008-03-09 16:32:24 -05:00
|
|
|
|
2008-03-12 16:37:22 -05:00
|
|
|
|
|
|
|
.. class:: StandaloneHTMLBuilder
|
|
|
|
|
2008-03-16 06:19:26 -05:00
|
|
|
This is the standard HTML builder. Its output is a directory with HTML
|
|
|
|
files, complete with style sheets and optionally the reST sources. There are
|
|
|
|
quite a few configuration values that customize the output of this builder,
|
|
|
|
see the chapter :ref:`html-options` for details.
|
|
|
|
|
|
|
|
Its name is ``html``.
|
2008-03-12 16:37:22 -05:00
|
|
|
|
|
|
|
.. class:: HTMLHelpBuilder
|
|
|
|
|
2008-03-16 06:19:26 -05:00
|
|
|
This builder produces the same output as the standalone HTML builder, but
|
|
|
|
also generates HTML Help support files that allow the Microsoft HTML Help
|
|
|
|
Workshop to compile them into a CHM file.
|
|
|
|
|
|
|
|
Its name is ``htmlhelp``.
|
|
|
|
|
|
|
|
.. class:: WebHTMLBuilder
|
|
|
|
|
|
|
|
This builder produces a directory with pickle files containing mostly HTML
|
|
|
|
fragments and TOC information, for use of a web application (or custom
|
|
|
|
postprocessing tool) that doesn't use the standard HTML templates.
|
|
|
|
|
|
|
|
It also is the format used by the Sphinx Web application. Its name is
|
|
|
|
``web``.
|
|
|
|
|
2008-03-12 16:37:22 -05:00
|
|
|
.. class:: LaTeXBuilder
|
|
|
|
|
2008-03-16 06:19:26 -05:00
|
|
|
This builder produces a bunch of LaTeX files in the output directory. You
|
|
|
|
have to specify which documents are to be included in which LaTeX files via
|
|
|
|
the :confval:`latex_documents` configuration value. There are a few
|
|
|
|
configuration values that customize the output of this builder, see the
|
|
|
|
chapter :ref:`latex-options` for details.
|
|
|
|
|
|
|
|
Its name is ``latex``.
|
|
|
|
|
2008-03-12 16:37:22 -05:00
|
|
|
.. class:: ChangesBuilder
|
|
|
|
|
2008-03-16 06:19:26 -05:00
|
|
|
This builder produces an HTML overview of all :dir:`versionadded`,
|
|
|
|
:dir:`versionchanged` and :dir:`deprecated` directives for the current
|
|
|
|
:confval:`version`. This is useful to generate a ChangeLog file, for
|
|
|
|
example.
|
|
|
|
|
|
|
|
Its name is ``changes``.
|
|
|
|
|
2008-03-12 16:37:22 -05:00
|
|
|
.. class:: CheckExternalLinksBuilder
|
|
|
|
|
2008-03-16 06:19:26 -05:00
|
|
|
This builder scans all documents for external links, tries to open them with
|
|
|
|
:mod:`urllib2`, and writes an overview which ones are broken and redirected
|
|
|
|
to standard output and to :file:`output.txt` in the output directory.
|
|
|
|
|
|
|
|
Its name is ``linkcheck``.
|
|
|
|
|