sphinx/doc/web/api.rst
2010-06-07 16:09:19 -05:00

27 lines
700 B
ReStructuredText

.. _websupportapi:
Web Support API
===============
.. module:: sphinx.websupport.api
.. class:: WebSupport
The :class:`WebSupport` class provides a central interface for
working with :class:`~sphinx.websupport.document.Document`'s.
.. method:: init(srcdir='', outdir='')
Initialize attributes.
.. method:: get_document(docname)
Retrieve the :class:`~sphinx.websupport.document.Document` object
corresponding to the *docname*.
.. module:: sphinx.websupport.document
.. class:: Document
The :class:`Document` provides access to a single document. It
is not instantiated directly, but is returned by methods of the
:class:`~sphinx.websupport.api.WebSupport` object.