File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,7 @@ def _check_dependencies():
101
101
autosummary_generate = True
102
102
103
103
autodoc_docstring_signature = True
104
- if sphinx .version_info < (1 , 8 ):
105
- autodoc_default_flags = ['members' , 'undoc-members' ]
106
- else :
107
- autodoc_default_options = {'members' : None , 'undoc-members' : None }
104
+ autodoc_default_options = {'members' : None , 'undoc-members' : None }
108
105
109
106
# missing-references names matches sphinx>=3 behavior, so we can't be nitpicky
110
107
# for older sphinxes.
@@ -345,10 +342,7 @@ def _check_dependencies():
345
342
# If false, no module index is generated.
346
343
latex_use_modindex = True
347
344
348
- if hasattr (sphinx , 'version_info' ) and sphinx .version_info [:2 ] >= (1 , 4 ):
349
- latex_toplevel_sectioning = 'part'
350
- else :
351
- latex_use_parts = True
345
+ latex_toplevel_sectioning = 'part'
352
346
353
347
# Show both class-level docstring and __init__ docstring in class
354
348
# documentation
You can’t perform that action at this time.
0 commit comments