Remove support for singlehtml (#40)

This commit is contained in:
Jared Dillard authored and GitHub committed 2025-08-29 15:22:32 -07:00
1 parent 52949a952a
commit e64e20133a
3 files changed
+8 -3

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@ from .manager import LLMSFullManager
from .processor import DocumentProcessor
from .writer import FileWriter
__version__ = "0.5.1"
__version__ = "0.5.2"
# Export classes needed by tests
__all__ = [
@@ -129,7 +129,7 @@ def setup(app: Sphinx) -> Dict[str, Any]:
def builder_inited(app):
"""Used to limit what builders are allowed to run the extension."""
allowed_builders = ["html", "singlehtml", "dirhtml"]
allowed_builders = ["html", "dirhtml"]
if hasattr(app, "builder") and app.builder.name in allowed_builders:
# Reset manager and root paragraph for each build
global _manager, _root_first_paragraph
-1
View File
@@ -197,7 +197,6 @@ class LLMSFullManager:
possible_sources = [
Path(outdir) / "_sources",
Path(outdir) / "html" / "_sources",
Path(outdir) / "singlehtml" / "_sources",
]
for path in possible_sources: