We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1374abf + c7958da commit a100c04Copy full SHA for a100c04
python_docs_theme/__init__.py
@@ -37,7 +37,7 @@ def _html_page_context(
37
38
assert isinstance(app.builder, StandaloneHTMLBuilder)
39
40
- if sphinx.version_info >= (4,) and "css_files" in context:
+ if (4,) <= sphinx.version_info < (7, 1) and "css_files" in context:
41
if "_static/pydoctheme.css" not in context["css_files"]:
42
raise ValueError(
43
"This documentation is not using `pydoctheme.css` as the stylesheet. "
0 commit comments