Skip to main content

Sphinx Extension to mimic Sphinx TocTrees

Project description

sphinxext-mimic

ci Code style: black

Sphinx Extension to create a fake expandable table of contents. It is recommended to :orphan: any page where mimic is used to avoid any unexpected behavior.

Installation

python -m pip install sphinxext-mimic

Requirements

  • Sphinx >= 3

Usage

Add sphinxext.mimic to your extensions list in your conf.py

extensions = [
   sphinxext.mimic,
]

Then use

.. mimictoc::

which is compatible with the default .. toctree:: arguments.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxext-mimic-0.1.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

sphinxext_mimic-0.1.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page