Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 601 Bytes

File metadata and controls

31 lines (22 loc) · 601 Bytes

(sphinx_toctree_autodoc_fix)= (sphinx-toctree-signature)=

ToC + sphinx.ext.autodoc fixer

Table of Contents won't generate for sphinx.ext.autodoc, see sphinx#6316. This has been an open issue since April 22nd, 2019.

Configuration

In your conf.py:

  1. Add 'sphinx_toctree_autodoc_fix' to extensions

    extensions = [
        # ...
        "sphinx_toctree_autodoc_fix",
    ]

API

.. automodule:: sphinx_toctree_autodoc_fix
   :members:
   :show-inheritance:
   :undoc-members: