Skip to content

Commit

Permalink
Step1 debugging build on RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Di Remigio committed Oct 29, 2015
1 parent e0a4039 commit f0f13ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,10 @@ def setup(app):
dot_path = os.path.split(which('dot'))[0]

project_doc_dir = project_src_dir
src_dir = project_src_dir
if not read_the_docs_build:
project_doc_dir = os.path.join(project_doc_dir, 'doc')
src_dir = os.path.abspath(os.pardir)
print('Project doc directory {}'.format(project_doc_dir))
# Clean up leftovers
print('Clean up leftovers from previous build')
Expand All @@ -382,7 +384,7 @@ def setup(app):
rep = { '@PROJECT_VERSION_MAJOR@' : major,
'@PROJECT_VERSION_MINOR@' : minor,
'@PROJECT_VERSION_PATCH@' : patch,
'@PROJECT_SOURCE_DIR@' : project_src_dir,
'@PROJECT_SOURCE_DIR@' : src_dir,
'@DOXYGEN_DOT_PATH@' : dot_path
}
f = open(project_doc_dir + '/Doxyfile.in', 'r')
Expand Down

0 comments on commit f0f13ee

Please sign in to comment.