sphinx-inline-tabs

Add inline tabbed content to your Sphinx documentation.

14 个版本 Python >=3.8
安装
pip install sphinx-inline-tabs
poetry add sphinx-inline-tabs
pipenv install sphinx-inline-tabs
conda install sphinx-inline-tabs
描述

Sphinx Inline Tabs

demo image

Add inline tabbed content to your Sphinx documentation.

Installation

This project is available on PyPI, and can be installed using pip:

pip install sphinx-inline-tabs

You'll also want to add the extension to extensions in conf.py:

extensions = [
    ...,
    "sphinx_inline_tabs",
    ...,
]

Features

  • Elegant design: Small footprint in the markup and generated website, while looking good.
  • Configurable: All the colors can be configured using CSS variables.
  • Synchronisation: Tabs with the same label all switch with a single click.
  • Works without JavaScript: JavaScript is not required for the basics, only for synchronisation.

Contributing

sphinx-inline-tabs is a volunteer maintained open source project, and we welcome contributions of all forms.

The Code of Conduct applies within all community spaces. If you are not familiar with our Code of Conduct policy, take a minute to read the policy before starting with your first contribution.

版本列表
2025.12.21.14 2025-12-21
2023.4.21 2023-04-21
2022.1.2b11 2022-01-02
2021.8.17b10 2021-08-17
2021.4.11b9 2021-04-11
2021.4.11b8 2021-04-11
2021.3.28b7 2021-03-28
2021.3.28b6 2021-03-28
2021.3.19b5 2021-03-19
2020.10.19b4 2020-10-19
2020.10.19b3 2020-10-19
2020.10.16b2 2020-10-16
2020.10.15b1 2020-10-14
2020.10.14b0 2020-10-14