Skip to main content

sphinx-singlehtml-anchors

sphinx-singlehtml-anchors is an experimental Sphinx extension that gives targets in singlehtml output document-qualified IDs. It is intended to provide community testing for a future fix to sphinx-doc/sphinx#4814.

Documentation

The live singlehtml demonstration contains repeated section and footnote targets and compares builds with and without the extension.

Development

Run the complete compatibility and static-check suite:

tox

The compatibility matrix covers Sphinx 8.1, 8.2, 9.1, and the proposed fix_refuris() restoration.

Compatibility

The extension supports released Sphinx versions from 8.1 through 9.x across both SingleFileHTMLBuilder.fix_refuris() lifecycle behaviors:

  • Sphinx 8.1.x, where Sphinx calls fix_refuris()

  • Sphinx 8.2.x through 9.x, where the extension supplies the omitted calls

  • Sphinx versions containing the restoration proposed by sphinx-doc/sphinx#14241

Prior art

The implementation builds on lessons from:

Metadata

Release files for sphinx-singlehtml-anchors 0.2.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-singlehtml-anchors 0.2.0
File Size Uploaded
sphinx_singlehtml_anchors-0.2.0.tar.gz 16.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-singlehtml-anchors 0.2.0
File Interpreter ABI Platform
sphinx_singlehtml_anchors-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.3 kB

Release files / sphinx_singlehtml_anchors-0.2.0.tar.gz

Download URL sphinx_singlehtml_anchors-0.2.0.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3829834ce9f629ebc139e6efe8a989d1f1142f63947a0befcc96ca6142fd823c
BLAKE2b-256 checksum
How to use checksums
43c97515b068d2fe31a86758d7d55c9a2c634067e1c8c9696096ff8d8f0522b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / sphinx_singlehtml_anchors-0.2.0-py3-none-any.whl

Download URL sphinx_singlehtml_anchors-0.2.0-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
149f1bd8dae63dbd06d4a275c496a38c12216e51bc8703559a141235a00dedf3
BLAKE2b-256 checksum
How to use checksums
8fc72c9392b9d232b2d5f8a9c956a3c78808020ec61141900629009e6a5845ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

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