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

Commit982c0f8

Browse files
authored
Fix TypeError insetup_switchers() (#284)
1 parentf30fec8 commit982c0f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎build_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def setup_switchers(script_content: bytes, html_root: Path) -> None:
473473
- Cross-link various versions in a version switcher
474474
"""
475475
switchers_path=html_root/"_static"/"switchers.js"
476-
switchers_path.write_text(script_content,encoding="UTF-8")
476+
switchers_path.write_bytes(script_content)
477477

478478
forfileinhtml_root.glob("**/*.html"):
479479
depth=len(file.relative_to(html_root).parts)-1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp