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.
1 parent acd4754 commit 8b88430Copy full SHA for 8b88430
1 file changed
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