Skip to content

Commit

Permalink
fix: make path to doxygen-awesome.css relative
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Apr 29, 2024
1 parent 8216419 commit ce329ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/generate_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
-DMIMICPP_BUILD_TESTS=OFF \
-DMIMICPP_BUILD_EXAMPLES=OFF
- name: Generate Doxygen Documentation (html and latex)
- name: Generate Doxygen Documentation
uses: mattnotmitt/doxygen-action@edge
with:
doxyfile-path: build/docs/Doxyfile
Expand All @@ -38,9 +38,3 @@ jobs:
with:
name: HTML-Documentation
path: build/docs/html

- name: Upload latex files
uses: actions/upload-artifact@v4
with:
name: Latex-Project
path: build/docs/latex
7 changes: 6 additions & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ cmake_path(
BASE_DIRECTORY "${PROJECT_SOURCE_DIR}"
OUTPUT_VARIABLE DOXY_OUTPUT_DIR
)
set(DOXY_HTML_EXTRA_STYLESHEET "${doxygen-awesome-css_SOURCE_DIR}/doxygen-awesome.css")
cmake_path(
RELATIVE_PATH doxygen-awesome-css_SOURCE_DIR
BASE_DIRECTORY "${PROJECT_SOURCE_DIR}"
OUTPUT_VARIABLE DOXY_HTML_EXTRA_STYLESHEET
)
set(DOXY_HTML_EXTRA_STYLESHEET "${DOXY_HTML_EXTRA_STYLESHEET}/doxygen-awesome.css")

if (MIMICPP_ENABLE_GENERATE_DOCS)

Expand Down

0 comments on commit ce329ba

Please sign in to comment.