Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

sphinx-argparse-neo

Modern Sphinx extension for documenting argparse-based CLI tools.

A modernized replacement for sphinx-argparse that:

  • Works with Sphinx 8.x and 9.x (no autodoc.mock dependency)
  • Fixes long-standing issues (TOC pollution, heading levels)
  • Provides configurable output (rubrics vs sections, flattened subcommands)
  • Includes Pygments lexers for argparse help output and CLI usage blocks
  • Supports extensibility via renderer classes

Install

$ pip install sphinx-argparse-neo

Usage

In your docs/conf.py:

extensions = ["sphinx_argparse_neo"]

Then use the .. argparse:: directive:

.. argparse::
   :module: myapp.cli
   :func: create_parser
   :prog: myapp

Release files for sphinx-argparse-neo 0.0.1a7

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-argparse-neo 0.0.1a7
File Size Uploaded
sphinx_argparse_neo-0.0.1a7.tar.gz 37.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-argparse-neo 0.0.1a7
File Interpreter ABI Platform
sphinx_argparse_neo-0.0.1a7-py3-none-any.whl Python 3 none any Details

Total release size: 79.0 kB

Release files / sphinx_argparse_neo-0.0.1a7.tar.gz

Download URL sphinx_argparse_neo-0.0.1a7.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7892418e39f37323820cbceef0a836825caace4d09b2d7dbb8583912f44265ac
BLAKE2b-256 checksum
How to use checksums
5011b55fd91b056b82628751715c0d464834ff0204fd083ace81b70b6fa6485a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 11, 2026.

Transparency log

Release files / sphinx_argparse_neo-0.0.1a7-py3-none-any.whl

Download URL sphinx_argparse_neo-0.0.1a7-py3-none-any.whl
Size 41.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3834c8e5032ec1d6997b30648370226e20f32c31d08c53e2f94b0ade602faae1
BLAKE2b-256 checksum
How to use checksums
6dd0bbe9b7ae43464736067c9837aba673a636472d41fcef9bbc863a5d3ca8d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 11, 2026.

Transparency log
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