Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8b88430

Browse files
committed
Skip cache-busting for old Sphinx
1 parentacd4754 commit8b88430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎python_docs_theme/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def _html_page_context(
3737

3838
assertisinstance(app.builder,StandaloneHTMLBuilder)
3939

40-
if"css_files"incontext:
40+
ifsphinx.version_info>= (4,)and"css_files"incontext:
4141
if"_static/pydoctheme.css"notincontext["css_files"]:
4242
raiseValueError(
4343
"This documentation is not using `pydoctheme.css` as the stylesheet. "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp