From 86bef1fafdd3639a3281e07b717216ce38ed8475 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Thu, 2 Oct 2025 16:30:37 +0100 Subject: [PATCH] Fix bad call to `has_latex_package` Apologies, I mixed this up --- src/sphinxnotes/strike/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sphinxnotes/strike/__init__.py b/src/sphinxnotes/strike/__init__.py index 3611f99..c4918ae 100644 --- a/src/sphinxnotes/strike/__init__.py +++ b/src/sphinxnotes/strike/__init__.py @@ -81,7 +81,7 @@ def setup(app: Sphinx): latex_packages = ('ulem', 'normalem') for latex_package in latex_packages: # If the package is already added and we add it again, Sphinx will warn. - if not app.has_latex_package(latex_package): + if not app.registry.has_latex_package(latex_package): app.add_latex_package(latex_package) app.add_node(