mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-01 12:31:10 +08:00
Remove unnecessary sphinx version check
This commit is contained in:
1 parent
15f6497bfe
commit
5c6ee9511c
1 file changed
+1
-5
+1
-5
@@ -12,7 +12,6 @@
|
||||
# serve to show the default.
|
||||
|
||||
import sys, os
|
||||
import sphinx
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
@@ -51,10 +50,7 @@ else:
|
||||
templates_path = ['_templates']
|
||||
|
||||
# The suffix of source filenames.
|
||||
if sphinx.__version__.startswith('1.3'):
|
||||
source_suffix = ['.txt']
|
||||
else:
|
||||
source_suffix = '.txt'
|
||||
source_suffix = '.txt'
|
||||
|
||||
# The encoding of source files.
|
||||
#source_encoding = 'utf-8-sig'
|
||||
|
||||
Reference in new issue
Block a user