pradyunsg / sphinx-inline-tabs

Add inline tabbed content to your Sphinx documentation. (maintained, though extremely stable as of Jan 2022)

Home Page:https://sphinx-inline-tabs.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Add inline tabbed content to your Sphinx documentation. (maintained, though extremely stable as of Jan 2022)

https://sphinx-inline-tabs.readthedocs.io/

License:MIT License


Languages

Language:Python 63.3%Language:HTML 21.4%Language:CSS 11.7%Language:JavaScript 3.5%