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

Commita6e262e

Browse files
authored
Merge pull request#113 from hugovk/skip-cache-busting-for-old-sphinx
Skip cache-busting for old Sphinx
2 parentsacd4754 +8b88430 commita6e262e

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