.. _f-sphinxtoctreeextension: module ``sphinxext.sphinx_toctree_extension`` ============================================= .. inheritance-diagram:: pyquickhelper.sphinxext.sphinx_toctree_extension Short summary +++++++++++++ module ``pyquickhelper.sphinxext.sphinx_toctree_extension`` #directive-toctree>`_ Overwrites `toctree ` | :epkg:`Sphinx` directive | +-----------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | :class:`CustomTocTree ` | Overwrites `toctree `_. The code is ... | +-----------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | :class:`CustomTocTreeCollector ` | Overwrites `TocTreeCollector `_. ... | +-----------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ Functions +++++++++ +------------------------------------------------------------------------+--------------------------------------------------+ | function | truncated documentation | +========================================================================+==================================================+ | :func:`setup ` | Setup for ``toctree`` and ``toctree2`` (sphinx). | +------------------------------------------------------------------------+--------------------------------------------------+ Properties ++++++++++ +----------------------------------------------------------------------------------------+-----------------------------------------------------+ | property | truncated documentation | +========================================================================================+=====================================================+ | :meth:`config ` | Reference to the :class:`.Config` object. | +----------------------------------------------------------------------------------------+-----------------------------------------------------+ | :meth:`env ` | Reference to the :class:`.BuildEnvironment` object. | +----------------------------------------------------------------------------------------+-----------------------------------------------------+ Methods +++++++ +-----------------------------------------------------------------------------------------------------------+-------------------------------------------------------------+ | method | truncated documentation | +===========================================================================================================+=============================================================+ | :meth:`enable ` | | +-----------------------------------------------------------------------------------------------------------+-------------------------------------------------------------+ | :meth:`process_doc ` | Build a TOC from the doctree and store it in the inventory. | +-----------------------------------------------------------------------------------------------------------+-------------------------------------------------------------+ | :meth:`run ` | | +-----------------------------------------------------------------------------------------------------------+-------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyquickhelper.sphinxext.sphinx_toctree_extension :members: :special-members: __init__ :show-inheritance: