From f83a72e82215aebaa3a6b53a8a8dc7728b74cad0 Mon Sep 17 00:00:00 2001 From: "erdem.cil" Date: Mon, 10 Jun 2024 19:17:50 +0200 Subject: [PATCH] doc compiling fix 9 --- docs/Doxyfile | 4 ++-- docs/source/conf.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/Doxyfile b/docs/Doxyfile index dba5818..b67dc25 100755 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -74,7 +74,7 @@ PROJECT_ICON = # entered, it will be relative to the location where doxygen was started. If # left blank the current directory will be used. -OUTPUT_DIRECTORY = ../build/docs/doxygen +OUTPUT_DIRECTORY = @DOXYGEN_OUTPUT_DIR@ # If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096 # sub-directories (in 2 levels) under the output directory of each output format @@ -949,7 +949,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = ../IR_lib/cpp +INPUT = @DOXYGEN_INPUT_DIR@ # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses diff --git a/docs/source/conf.py b/docs/source/conf.py index 2772124..0c42631 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) @@ -16,8 +16,8 @@ def configureDoxyfile(input_dir, output_dir): breathe_projects = {} if read_the_docs_build: - input_dir = '../../IR_lib' - output_dir = '../build' + input_dir = '../../IR_lib/cpp' + output_dir = '../../build/docs/doxygen' configureDoxyfile(input_dir, output_dir) subprocess.call('doxygen', shell=True) breathe_projects['information_reconciliation'] = output_dir + '/xml'