-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Describe the bug
write-started is emitted in Builder.write (here), but LatexBuilder overrides write and does not call super() (here).
How to Reproduce
In conf, add extensions = ["foo"]. For foo.py, put:
import sys
def setup(app):
app.connect("write-started", lambda *x: sys.exit(1))sphinx-build -Eb html will terminate building early. sphinx-build -Eb latex will complete building normally.
Environment Information
Platform: win32; (Windows-10-10.0.22631-SP0)
Python version: 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)])
Python implementation: CPython
Sphinx version: 7.4.7
Docutils version: 0.20.1
Jinja2 version: 3.1.2
Pygments version: 2.18.0
Sphinx extensions
No response
Additional context
No response
jfbu