Skip to content

Commit

Permalink
Everything is relative from the source directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhD committed Feb 11, 2021
1 parent 1a07fe7 commit 87bb1f7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions documentation/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@
# ReadTheDocs Build Help
#
def run_cmake_doxygen():
os.mkdir('build')
os.mkdir('cmake-build')
subprocess.call(
"cmake -DZTD_TEXT_DOCUMENTATION:BOOL=TRUE -DZTD_TEXT_DOCUMENTATION_NO_SPHINX:BOOL=TRUE ../..",
"cmake -DZTD_TEXT_DOCUMENTATION:BOOL=TRUE -DZTD_TEXT_DOCUMENTATION_NO_SPHINX:BOOL=TRUE ../../..",
shell=True,
cwd='build')
subprocess.call("cmake --build .", shell=True, cwd='build')
breathe_projects["ztd.text"] = 'build/doxygen/xml'
cwd='cmake-build')
subprocess.call("cmake --build .", shell=True, cwd='cmake-build')
breathe_projects["ztd.text"] = 'cmake-build/doxygen/xml'


# Are we on the ReadTheDocs server?
Expand Down

0 comments on commit 87bb1f7

Please sign in to comment.