.. _f-sphinxdoctreebuilder: module ``sphinxext.sphinx_doctree_builder`` =========================================== .. inheritance-diagram:: pyquickhelper.sphinxext.sphinx_doctree_builder Short summary +++++++++++++ module ``pyquickhelper.sphinxext.sphinx_doctree_builder`` Defines a sphinx extension to output :epkg:`sphinx` doctree. :githublink:`%|py|6` Classes +++++++ +-----------------------------------------------------------------------------------------------+----------------------------------+ | class | truncated documentation | +===============================================================================================+==================================+ | :class:`DocTreeBuilder ` | Defines a doctree builder. | +-----------------------------------------------------------------------------------------------+----------------------------------+ | :class:`DocTreeTranslator ` | Defines a translator for doctree | +-----------------------------------------------------------------------------------------------+----------------------------------+ | :class:`DocTreeWriter ` | Defines a doctree writer. | +-----------------------------------------------------------------------------------------------+----------------------------------+ Functions +++++++++ +----------------------------------------------------------------------+----------------------------------+ | function | truncated documentation | +======================================================================+==================================+ | :func:`setup ` | Initializes the doctree builder. | +----------------------------------------------------------------------+----------------------------------+ Methods +++++++ +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | method | truncated documentation | +================================================================================================================+========================================================================================================================+ | :py:meth:`__init__ ` | Constructor, add a logger. | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_format_obj ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`add_text ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`depart_document ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`depart_Text ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`end_state ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`finish ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`get_outdated_docs ` | Return an iterable of input files that are outdated. This method is taken from ``TextBuilder.get_outdated_docs()`` ... | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`get_outfilename ` | Overwrites *get_target_uri* to control file names. | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`get_target_uri ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`handle_page ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`init ` | Load necessary templates and perform initialization. | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`log_unknown ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`new_state ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`prepare_writing ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`translate ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`unknown_departure ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`unknown_visit ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`visit_document ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`visit_Text ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`wrap ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`write_doc ` | | +----------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyquickhelper.sphinxext.sphinx_doctree_builder :members: :special-members: __init__ :show-inheritance: