Changelog

Release 8.1.0 (in development)

Dependencies

  • #12756: Add lower-bounds to the sphinxcontrib-* dependencies. Patch by Adam Turner.

Incompatible changes

  • #12763: Remove unused internal class sphinx.util.Tee. Patch by Adam Turner.

Deprecated

  • #12762: Deprecate sphinx.util.import_object. Use importlib.import_module() instead. Patch by Adam Turner.

  • #12766: Deprecate sphinx.util.FilenameUniqDict and sphinx.util.DownloadFiles. Patch by Adam Turner.

Features added

  • #11328: Mention evaluation of templated content during production of static output files.

  • #12474: Support type-dependent search result highlighting via CSS. Patch by Tim Hoffmann.

  • #12743: No longer exit on the first warning when --fail-on-warning is used. Instead, exit with a non-zero status if any warnings were generated during the build. Patch by Adam Turner.

  • #12743: Add sphinx-build --exception-on-warning, to raise an exception when warnings are emitted during the build. Patch by Adam Turner and Jeremy Maitin-Shepard.

Bugs fixed

  • #12514: intersphinx: fix the meaning of a negative value for intersphinx_cache_limit. Patch by Shengyu Zhang.

  • #12730: The UnreferencedFootnotesDetector transform has been improved to more consistently detect unreferenced footnotes. Note, the priority of the transform has been changed from 200 to 622, so that it now runs after the docutils Footnotes resolution transform. Patch by Chris Sewell.

  • #12587: Do not warn when potential ambiguity detected during Intersphinx resolution occurs due to duplicate targets that differ case-insensitively. Patch by James Addison.

  • #12639: Fix singular and plural search results text. Patch by Hugo van Kemenade.

  • #12645: Correctly support custom gettext output templates. Patch by Jeremy Bowman.

  • #12717: LaTeX: let -q (quiet) option for sphinx-build -M latexpdf or make latexpdf (O=-q) get passed to latexmk. Let -Q (silent) apply as well to the PDF build phase. Patch by Jean-François B.

  • #11970, #12551: singlehtml builder: make target URIs to be same-document references in the sense of RFC 3986, §4.4, e.g., index.html#foo becomes #foo. (note: continuation of a partial fix added in Sphinx 7.3.0) Patch by James Addison (with reference to prior work by Eric Norige)

Testing

  • #12141: Migrate from the deprecated karma JavaScript test framework to the actively-maintained jasmine framework. Test coverage is unaffected. Patch by James Addison.

Prior releases