Skip to main content

sphinx-list-items

GPL3 License PyPi Status PyPi Version

A Sphinx extension to automatically list figures, tables, and Sphinx version directives (versionadded, versionchanged, deprecated, versionremoved) in your documentation. Output as a bulleted list or a customizable table, with filtering and advanced options.

Features

  • List all figures or tables in your documentation
  • List Sphinx version directives (with prefix-stripping for cleaner output)
  • Output as a bulleted list or a table (with custom columns)
  • Filter version items by version number
  • Works with cross-references and section links

Installation

pip install sphinx-list-items

Or for development:

pip install -e .

Setup

Add to your conf.py:

extensions = ['sphinx_list_items']

Usage

List all figures (as a list)

.. list-items:: figures
   :list:

List all figures (as a table)

.. list-items:: figures
   :table:

List all tables (as a list)

.. list-items:: tables
   :list:

List all tables (as a table)

.. list-items:: tables
   :table:

List Sphinx version directives (as a list)

.. list-items:: versionadded
   :list:

.. list-items:: versionchanged
   :list:

.. list-items:: deprecated
   :list:

.. list-items:: versionremoved
   :list:

List Sphinx version directives (as a table)

.. list-items:: versionadded
   :table:

Filter version items by version

.. list-items:: versionadded
   :table:
   :version: 0.0.2

Custom columns for tables

.. list-items:: versionchanged
   :table: docname, version, text, type

Advanced

  • All output supports cross-references to the source location.
  • Version directive output strips the prefix (e.g., "Added in version 1.0.0:") for clean summaries.
  • You can use :list: or :table: for any supported type.
  • For tables, you can specify custom columns (e.g., :table: id, caption).

Example

See the examples and specimens in this repository for real-world usage.

Metadata

Release files for sphinx-list-items 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-list-items 1.0.0
File Size Uploaded
sphinx_list_items-1.0.0.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-list-items 1.0.0
File Interpreter ABI Platform
sphinx_list_items-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.9 kB

Release files / sphinx_list_items-1.0.0.tar.gz

Download URL sphinx_list_items-1.0.0.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
aed39f01a55f443c918119f07d171c80f62894b32dc6782a762e1548ca2d4f04
BLAKE2b-256 checksum
How to use checksums
eeb5621786b942580a18cff5788d0e53b05fa213247f6e0867da2f8b1c62d499
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2025.

Transparency log

Release files / sphinx_list_items-1.0.0-py3-none-any.whl

Download URL sphinx_list_items-1.0.0-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3fbf24dc784652c1179de5a4ba5107911e1ab9e35efc64a7e8dc02a75827d84
BLAKE2b-256 checksum
How to use checksums
266842a806ad2aead66054e5ca27eabe24a41af20320af2f639aa0461a4660e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page