Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acd4754 + 8b88430 commit a6e262eCopy full SHA for a6e262e
python_docs_theme/__init__.py
@@ -37,7 +37,7 @@ def _html_page_context(
37
38
assert isinstance(app.builder, StandaloneHTMLBuilder)
39
40
- if "css_files" in context:
+ if sphinx.version_info >= (4,) 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