Commit f13a1365 authored by jannick.wolters's avatar jannick.wolters
Browse files

next try on fixing doxygen


Former-commit-id: a23399a7
parent c72739d1
......@@ -74,10 +74,14 @@ breathe_default_project = "KiT-RT"
read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
if read_the_docs_build:
inputDir = '../code/build/'
outputDir = '../code/build/debug/docs/doxygen'
if not os.path.exists(outputDir):
os.makedirs(outputDir)
with open("Doxyfile.in", "rt") as fin:
with open("Doxyfile", "wt") as fout:
for line in fin:
line = line.replace('@DOXYGEN_OUTPUT_DIR@', 'doxygen')
line = line.replace('@DOXYGEN_INPUT_DIR@', '../code/')
line = line.replace('@DOXYGEN_OUTPUT_DIR@', outputDir)
line = line.replace('@DOXYGEN_INPUT_DIR@', inputDir)
fout.write(line)
subprocess.call('doxygen', shell=True)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment