Skip to content

Commit

Permalink
Remove duplicate HTML builder check (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Aug 17, 2023
1 parent 7b4f130 commit d2e2448
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/furo/__init__.py
Expand Up @@ -173,13 +173,6 @@ def _html_page_context(
context: Dict[str, Any],
doctree: Any,
) -> None:
if not isinstance(app.builder, StandaloneHTMLBuilder):
raise Exception(
"Furo is being used with a non-HTML builder. "
"If you're seeing this error, it is a symptom of a mistake in your "
"configuration."
)

if "css_files" in context:
if "_static/styles/furo.css" not in [c.filename for c in context["css_files"]]:
raise Exception(
Expand Down

0 comments on commit d2e2448

Please sign in to comment.