Skip to content

Commit

Permalink
Fix paths in doxy checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-el-sayed committed Aug 12, 2024
1 parent 33f6e32 commit 84a501b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions scripts/doxygen_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ def configure_doxyfile(
doxyfile_data = file.read()

doxyfile_data = doxyfile_data.replace("@DOXYGEN_INPUT_LIST@", doxygen_input_list)
doxyfile_data = doxyfile_data.replace("@DOXYGEN_OUTPUT_DIR@", str(output_dir.resolve()))
doxyfile_data = doxyfile_data.replace("@CMAKE_CURRENT_SOURCE_DIR@", str(docs_dir.resolve()))
doxyfile_data = doxyfile_data.replace(
"@DOXYGEN_OUTPUT_DIR@", str(output_dir.resolve())
)
doxyfile_data = doxyfile_data.replace(
"@CMAKE_CURRENT_SOURCE_DIR@", str(docs_dir.resolve())
)
doxyfile_data = doxyfile_data.replace(
"@DOXYGEN_WARN_LOG_FILE@", str(doxygen_log_path)
)
Expand All @@ -51,8 +55,8 @@ def print_file(file: Path):

# Set dirs
root_dir = Path(__file__).parent.parent
UGrid_include_dir = root_dir / "include" / "UGrid"
UGridapi_include_dir = root_dir / "include" / "UGridApi"
UGrid_include_dir = root_dir / "libs" / "UGrid" / "include" / "UGrid"
UGridapi_include_dir = root_dir / "libs" / "UGridAPI" / "include" / "UGridAPI"
output_dir = root_dir / "build" / "docs"
docs_dir = root_dir / "docs"

Expand Down

0 comments on commit 84a501b

Please sign in to comment.