Skip to content

Commit

Permalink
doc compiling fix 9
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemeray committed Jun 10, 2024
1 parent d99efc6 commit f83a72e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 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 @@ -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'
Expand Down

0 comments on commit f83a72e

Please sign in to comment.