Skip to content

Commit

Permalink
doc compiler fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemeray committed Jun 10, 2024
1 parent 4f41bc7 commit 1de6e0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ find_package(Sphinx REQUIRED)
get_target_property(IR_LIB_PUBLIC_HEADER_DIR information_reconciliation INTERFACE_INCLUDE_DIRECTORIES)
file(GLOB_RECURSE IR_LIB_PUBLIC_HEADERS ${IR_LIB_PUBLIC_HEADER_DIR}/*.hpp)

#set(DOXYGEN_INPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(DOXYGEN_INPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(DOXYGEN_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/doxygen)
set(DOXYGEN_INDEX_FILE ${DOXYGEN_OUTPUT_DIR}/html/index.html)
set(DOXYFILE_IN ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile)#
Expand Down
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ def configureDoxyfile(input_dir, output_dir):
with open('Doxyfile', 'r') as file :
filedata = file.read()

filedata = filedata.replace('@DOXYGEN_INPUT_DIR@', input_dir)
filedata = filedata.replace('@DOXYGEN_OUTPUT_DIR@', output_dir)
#filedata = filedata.replace('@DOXYGEN_INPUT_DIR@', input_dir)
#filedata = filedata.replace('@DOXYGEN_OUTPUT_DIR@', output_dir)

with open('Doxyfile', 'w') as file:
file.write(filedata)
Expand All @@ -18,7 +18,7 @@ def configureDoxyfile(input_dir, output_dir):
if read_the_docs_build:
input_dir = '../IR_lib'
output_dir = 'build'
#configureDoxyfile(input_dir, output_dir)
configureDoxyfile(input_dir, output_dir)
subprocess.call('doxygen', shell=True)
breathe_projects['information_reconciliation'] = output_dir + '/xml'

Expand Down

0 comments on commit 1de6e0d

Please sign in to comment.