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.1.1

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.1.1
File Size Uploaded
sphinx_singlehtml_anchors-0.1.1.tar.gz 17.5 kB Details

Built distribution (wheel)

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

Total release size: 24.9 kB

Release files / sphinx_singlehtml_anchors-0.1.1.tar.gz

Download URL sphinx_singlehtml_anchors-0.1.1.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6f77b70d1f56f7b0ccea5ea1ef85db02d132c739d5bfbdee43554d7f9d93751b
BLAKE2b-256 checksum
How to use checksums
162bbfdea31f3e545d7e1cad701d325d60ec993f732a6f82c22123adb8e06375
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.1.1-py3-none-any.whl

Download URL sphinx_singlehtml_anchors-0.1.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f52d05fb7f8a5beb8513b54e8c92ccdf3f581a13ade3b85e327d3a78d0e928a7
BLAKE2b-256 checksum
How to use checksums
069511a78ad1ce5545904f0b3a41a0ef06a0762cff1441b77ac5944e3d82b9fe
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

0.2.0

2 release files

This release

0.1.1 This release

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