Skip to content

Commit c4c9860

Browse files
committed
run doxygen from project folder
1 parent fd9360b commit c4c9860

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,17 @@ jobs:
2121

2222
# Step 3: Generate Doxygen documentation
2323
- name: Generate Doxygen Documentation
24-
run: doxygen ./project/doxygen/Doxyfile
24+
run: cd project/doxygen && doxygen
2525

26-
# Step 4: Deploy to `gh-pages` branch
26+
# Step 4: Ensure no Jekyll is present
27+
- name: Create .nojekyll file
28+
run: echo "" > ./project/doxygen/html/.nojekyll
29+
30+
# Step 5: Deploy to `gh-pages` branch
2731
- name: Deploy to GitHub Pages
2832
uses: peaceiris/actions-gh-pages@v3
2933
with:
3034
github_token: ${{ secrets.GITHUB_TOKEN }}
3135
publish_branch: gh-pages
32-
publish_dir: ./html
36+
publish_dir: ./project/doxygen/html
3337

project/doxygen/doxygen.log

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
warning: source '../../src' is not a readable file or directory... skipping.
2-
warning: No files to be processed, please check your settings, in particular INPUT, FILE_PATTERNS, and RECURSIVE
3-
error: Style sheet 'doxygen-awesome.css' specified by HTML_EXTRA_STYLESHEET does not exist!

0 commit comments

Comments
 (0)