File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ def install_core_requirements(self):
236
236
'recommonmark==0.4.0' ,
237
237
]
238
238
239
- if self .project . documentation_type == 'mkdocs' :
239
+ if self .config . doctype == 'mkdocs' :
240
240
requirements .append ('mkdocs==0.17.3' )
241
241
else :
242
242
# We will assume semver here and only automate up to the next
@@ -275,7 +275,7 @@ def install_core_requirements(self):
275
275
def install_user_requirements (self ):
276
276
requirements_file_path = self .config .python .requirements
277
277
if not requirements_file_path and requirements_file_path != '' :
278
- builder_class = get_builder_class (self .project . documentation_type )
278
+ builder_class = get_builder_class (self .config . doctype )
279
279
docs_dir = (builder_class (build_env = self .build_env , python_env = self )
280
280
.docs_dir ())
281
281
paths = [docs_dir , '' ]
@@ -352,7 +352,7 @@ def install_core_requirements(self):
352
352
'recommonmark' ,
353
353
]
354
354
355
- if self .project . documentation_type == 'mkdocs' :
355
+ if self .config . doctype == 'mkdocs' :
356
356
pip_requirements .append ('mkdocs' )
357
357
else :
358
358
pip_requirements .append ('readthedocs-sphinx-ext' )
You can’t perform that action at this time.
0 commit comments