summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevent Kaya <levent.kaya@codefirst.io>2024-11-24 13:54:50 +0300
committerLevent Kaya <levent.kaya@codefirst.io>2024-11-24 13:54:50 +0300
commitf692de62383de2ae0dac57d5bf523eb0724f937a (patch)
treeb4da4e8c5e7b610ce9ef5cf4694ed7db8f3a0233
parent9fe58820e0240d8694a89ff74f3e3411e41e86ff (diff)
[docs] path fixes
-rw-r--r--.github/doxygen-gh-pages.yml14
-rw-r--r--docs/Doxyfile7
2 files changed, 16 insertions, 5 deletions
diff --git a/.github/doxygen-gh-pages.yml b/.github/doxygen-gh-pages.yml
index dd9f6f1..b43486d 100644
--- a/.github/doxygen-gh-pages.yml
+++ b/.github/doxygen-gh-pages.yml
@@ -21,7 +21,10 @@ jobs:
sudo apt-get install -y doxygen graphviz
- name: Generate Doxygen Documentation
- run: doxygen Doxyfile
+ run: |
+ cd docs
+ doxygen Doxyfile
+ cd ..
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/master'
@@ -30,4 +33,11 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html
enable_jekyll: false
- full_commit_message: Deploy Doxygen documentation \ No newline at end of file
+ full_commit_message: Deploy Doxygen documentation
+
+ - name: List generated files
+ run: |
+ echo "Contents of docs directory:"
+ ls -la docs/
+ echo "Contents of docs/html directory (if exists):"
+ ls -la docs/html/ || echo "html directory not found" \ No newline at end of file
diff --git a/docs/Doxyfile b/docs/Doxyfile
index 1315f15..6e37e03 100644
--- a/docs/Doxyfile
+++ b/docs/Doxyfile
@@ -5,7 +5,7 @@ PROJECT_NAME = "FBGL"
PROJECT_NUMBER = "0.1.0"
PROJECT_BRIEF = "Framebuffer Graphics Library"
PROJECT_LOGO =
-OUTPUT_DIRECTORY = docs
+OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO
ALLOW_UNICODE_NAMES = NO
OUTPUT_LANGUAGE = English
@@ -19,11 +19,11 @@ EXTRACT_LOCAL_METHODS = YES
EXTRACT_ANON_NSPACES = NO
# Input files
-INPUT = .
+INPUT = ../
FILE_PATTERNS = *.h
RECURSIVE = YES
EXCLUDE =
-EXCLUDE_PATTERNS =
+EXCLUDE_PATTERNS = */build/* */.*
EXCLUDE_SYMBOLS =
# Source browsing
@@ -35,6 +35,7 @@ REFERENCES_RELATION = YES
REFERENCES_LINK_SOURCE = YES
USE_HTAGS = NO
VERBATIM_HEADERS = YES
+USE_MDFILE_AS_MAINPAGE = ../README.md
# HTML output
GENERATE_HTML = YES