Skip to content

Commit

Permalink
Fix conf.py path
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Aug 6, 2018
1 parent 564b966 commit 6756b7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion readthedocs/doc_builder/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ def load_yaml_config(version):
python_version = 3 if project.python_interpreter == 'python3' else 2
allow_v2 = project.has_feature(Feature.ALLOW_V2_CONFIG_FILE)
try:
sphinx_configuration = version.get_conf_py_path()
sphinx_configuration = path.join(
version.get_conf_py_path(),
'conf.py'
)
except ProjectConfigurationError:
sphinx_configuration = None

Expand Down

0 comments on commit 6756b7f

Please sign in to comment.