We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fd57e8 commit af0fb10Copy full SHA for af0fb10
build_docs.py
@@ -105,7 +105,8 @@ def relative_path(filename):
105
try:
106
from sphinx.setup_command import BuildDoc
107
except:
108
-
+ MyBuildDoc = None
109
+else:
110
class MyBuildDoc(BuildDoc):
111
""" Sub-class the standard sphinx documentation building system, to
112
add logics for API generation and matplotlib's plot directive.
@@ -160,8 +161,6 @@ def finalize_options(self):
160
161
"""
162
self.build_dir = os.path.join(*DOC_BUILD_DIR.split(os.sep)[:-1])
163
BuildDoc.finalize_options(self)
-else:
164
- MyBuildDoc = None
165
166
################################################################################
167
# Distutils Command class to clean
0 commit comments