Skip to content

1.4 breaks linkcheck builder (and likely other builders) #14

@adamtheturtle

Description

@adamtheturtle
# conf.py
extensions = ["sphinxnotes.strike"]
# index.rst
:strike:`a`
adam@Adams-MacBook-Pro ~/D/example> rm -rf build; uv run --with="sphinx"  --with="sphinxnotes-strike==1.4" sphinx-build -W -b linkcheck . build/
Running Sphinx v8.2.3
loading translations [en]... done
making output directory... done
building [mo]: targets for 0 po files that are out of date
writing output...
building [linkcheck]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index

Versions
========

* Platform:         darwin; (macOS-26.1-arm64-arm-64bit-Mach-O)
* Python version:   3.13.9 (CPython)
* Sphinx version:   8.2.3
* Docutils version: 0.21.2
* Jinja2 version:   3.1.6
* Pygments version: 2.19.2

Last Messages
=============

    writing output...

    building [linkcheck]: targets for 1 source files that are out of date
    updating environment:
    [new config]
    1 added, 0 changed, 0 removed

    reading sources... [100%]
    index

Loaded Extensions
=================

* sphinx.ext.mathjax (8.2.3)
* alabaster (1.0.0)
* sphinxcontrib.applehelp (2.0.0)
* sphinxcontrib.devhelp (2.0.0)
* sphinxcontrib.htmlhelp (2.1.0)
* sphinxcontrib.serializinghtml (2.0.0)
* sphinxcontrib.qthelp (2.0.0)
* sphinxnotes.strike (1.4)

Traceback
=========

      File "/Users/adam/.cache/uv/archive-v0/bBM-SrsSmyWF_uCcEJOVg/lib/python3.13/site-packages/sphinxnotes/strike/__init__.py", line 92, in _is_supported_builder
        handlers = builder.app.registry.translation_handlers[builder.name]
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
    KeyError: 'linkcheck'


The full traceback has been saved in:
/var/folders/7m/7dw9_61n2mdddks3_ywc29qr0000gn/T/sphinx-err-h28hnm0i.log

To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message can be provided next time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions