Skip to content

Commit 77d01c8

Browse files
committed
Update
1 parent 7573fe0 commit 77d01c8

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.github/Doxyfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ ALIASES += "hook=@hook"
1616
ALIASES += "shortcode=@shortcode"
1717

1818
# HTML Output
19-
HTML_OUTPUT = .
20-
HEADER_LOGO = public/assets/pf-logo.png
19+
HTML_OUTPUT = .
2120
HTML_HEADER = header.html
2221
HTML_FOOTER = footer.html
23-
HTML_STYLESHEET = public/assets/pf-style.css
22+
HTML_STYLESHEET = assets/pf-style.css
2423
GENERATE_TREEVIEW = YES
2524
USE_MDFILE_AS_MAINPAGE = README.md
2625

.github/workflows/docs.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,30 @@ jobs:
1414
run: |
1515
sudo apt-get update
1616
sudo apt-get install -y doxygen graphviz
17-
mkdir -p public public/assets
17+
mkdir -p public
1818
1919
- name: Copy Config Files
2020
run: |
21-
# Copy Doxygen config to root
22-
cp ././.github/Doxyfile ./Doxyfile
23-
# Copy docs_config
24-
cp -r ././.github/docs_config/* public/
21+
cp .github/Doxyfile ./Doxyfile
22+
cp -r .github/docs_config/* public/
23+
mkdir -p public/assets
24+
cp -r .github/docs_config/assets/* public/assets/
25+
26+
- name: Verify Files
27+
run: ls -la public/
2528

2629
- name: Generate Documentation
2730
run: |
2831
echo "pf.ractstudio.com" > public/CNAME
2932
doxygen Doxyfile
3033
31-
- name: Cleanup & Deploy
32-
run: rm Doxyfile # Remove temporary file
34+
- name: Cleanup
35+
run: rm Doxyfile
3336

34-
- name: Deploy to Doc Branch
37+
- name: Deploy
3538
uses: peaceiris/actions-gh-pages@v3
3639
with:
3740
github_token: ${{ secrets.GITHUB_TOKEN }}
3841
publish_dir: ./public
3942
publish_branch: doc
40-
keep_files: true
41-
force_orphan: false
43+
keep_files: true

0 commit comments

Comments
 (0)