mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
docs: Add description for attributes of Builder (refs: #4402)
This commit is contained in:
parent
b924e06066
commit
0010179d45
@ -17,6 +17,9 @@ Builder API
|
||||
.. autoattribute:: format
|
||||
.. autoattribute:: epilog
|
||||
.. autoattribute:: supported_image_types
|
||||
.. autoattribute:: supported_remote_images
|
||||
.. autoattribute:: supported_data_uri_images
|
||||
.. autoattribute:: default_translator_class
|
||||
|
||||
These methods are predefined and will be called from the application:
|
||||
|
||||
|
@ -59,8 +59,8 @@ class Builder(object):
|
||||
#: ``project``
|
||||
epilog = '' # type: unicode
|
||||
|
||||
# default translator class for the builder. This will be overrided by
|
||||
# ``app.set_translator()``.
|
||||
#: default translator class for the builder. This can be overrided by
|
||||
#: :py:meth:`app.set_translator()`.
|
||||
default_translator_class = None # type: nodes.NodeVisitor
|
||||
# doctree versioning method
|
||||
versioning_method = 'none' # type: unicode
|
||||
@ -73,7 +73,9 @@ class Builder(object):
|
||||
#: The list of MIME types of image formats supported by the builder.
|
||||
#: Image files are searched in the order in which they appear here.
|
||||
supported_image_types = [] # type: List[unicode]
|
||||
#: The builder supports remote images or not.
|
||||
supported_remote_images = False
|
||||
#: The builder supports data URIs or not.
|
||||
supported_data_uri_images = False
|
||||
|
||||
def __init__(self, app):
|
||||
|
Loading…
Reference in New Issue
Block a user