From 1de6e0dcba4fbf571ad441b65a73106cd3d651b4 Mon Sep 17 00:00:00 2001 From: "erdem.cil" Date: Mon, 10 Jun 2024 18:44:59 +0200 Subject: [PATCH] doc compiler fix 3 --- docs/CMakeLists.txt | 2 +- docs/source/conf.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 765449d..da55a0f 100755 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -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)# diff --git a/docs/source/conf.py b/docs/source/conf.py index 90f100a..bafc26d 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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) @@ -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'