Skip to main content

sphinx-autopages

A sphinx extension to generate dynamically pages and counterpart ToC.

Usage

Simply install and add sphinx-autopages to your conf.py extensions list.

pip install sphinx-autopages

Guide

The most basic usage is to render Toc with the list of page generated.

Demo
----

.. autopages:: autopages_callable "arg1" "arg2" debug=True nb_pages=4
   :caption: autopages demo

Directive Arguments

The first argument, mandatory, is the name of the callable helper as found in conf.py followed by any optional args and kwargs passed to the callable helper.

Directive Options

The autopages directives have the same option as toctree directive:

  • maxdepth

  • name

  • class

  • caption

  • glob

  • hidden

  • includehidden

  • numbered

  • titlesonly

  • reversed

Configuration

The following global configuration variables are available:

  • None

Callable Helper

TODO

Metadata

Release files for sphinx_autopages 0.0.4

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_autopages 0.0.4
File Size Uploaded Provenance Actions
sphinx_autopages-0.0.4.tar.gz 9.3 kB Without provenance Details for sphinx_autopages-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sphinx_autopages 0.0.4
File Interpreter ABI Platform Actions
sphinx_autopages-0.0.4-py3-none-any.whl Python 3 none any Details for sphinx_autopages-0.0.4-py3-none-any.whl

Total release size: 29.4 kB

Release files / sphinx_autopages-0.0.4.tar.gz

Download URL sphinx_autopages-0.0.4.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
470b43666466d09538e916481dab623e33aa5e460d6f8d139497d8512aa4f60c
BLAKE2b-256 checksum
How to use checksums
3c6f1f247acd10f7680fa966fc66b6a478194d819960a5f61f3fbbcacfa78543
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/6.17.0-29-generic

Release files / sphinx_autopages-0.0.4-py3-none-any.whl

Download URL sphinx_autopages-0.0.4-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dd40c7f5f4e1063b83bc66c248f17d8ae567b820744109d36caac85f3c8a4c6
BLAKE2b-256 checksum
How to use checksums
d4e955e5d82cd1b06940eaadf60c5ac7b8515bca9dcae5a6520028c44740559f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/6.17.0-29-generic

Security for sphinx_autopages 0.0.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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