sphinx autopages extension
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx_autopages-0.0.3.tar.gz.
File metadata
- Download URL: sphinx_autopages-0.0.3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.11.0-17-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d6f740702589879aeb3620de2cebb7028dc1eb7a238432e58dde0f936dcaf0e
|
|
| MD5 |
afecfe8129894a6c75af3209ba1d7503
|
|
| BLAKE2b-256 |
f68585a799b77d76f6d3f4a45f02709b23ab6c990d3ac385f8bc1dfea147307a
|
File details
Details for the file sphinx_autopages-0.0.3-py3-none-any.whl.
File metadata
- Download URL: sphinx_autopages-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.11.0-17-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bc9cfeadafdd66e748f0f34400c5582f41d13ffbb655de8f03e3995b73f4c0e
|
|
| MD5 |
da37b7fae52c45e6e2ed36989091fc54
|
|
| BLAKE2b-256 |
cf8c84cf66845be8e8e89b8ad7eb979d5a2c89496df92f12e4300385f7462db8
|