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

Commitf051405

Browse files
committed
DOC: Avoid deprecated latex_use_parts option.
This was deprecated in Sphinx 1.4 and causes a warning in 1.5, whichkills the build due to warnings-as-errors.
1 parentfac3e68 commitf051405

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎doc/conf.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,10 @@
286286
# If false, no module index is generated.
287287
latex_use_modindex=True
288288

289-
latex_use_parts=True
289+
ifhasattr(sphinx,'version_info')andsphinx.version_info[:2]>= (1,4):
290+
latex_toplevel_sectioning='part'
291+
else:
292+
latex_use_parts=True
290293

291294
# Show both class-level docstring and __init__ docstring in class
292295
# documentation

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp