Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: docs

on:
push:
branches:
- develop-ros2
- main-ros2
Comment on lines +3 to +7
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow is configured to run on pushes to both develop-ros2 and main-ros2 branches (lines 3-7), but the deployment step only executes for develop-ros2 (line 26). This means the workflow will run on main-ros2 but won't deploy anything, which is inefficient.

Consider either:

  1. Removing main-ros2 from the trigger branches if deployment is only intended for develop-ros2
  2. Adding a separate deployment condition for main-ros2 if you want to deploy from that branch too (perhaps to a different directory)


jobs:
doxygen:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4

- name: Install Doxygen
run: |
sudo apt-get update
sudo apt-get install -y doxygen

- name: Generate API docs
run: doxygen Doxyfile

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/develop-ros2'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/api/html
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.vscode/
docs/api/
19 changes: 19 additions & 0 deletions Doxyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
PROJECT_NAME = "Eagleye"
PROJECT_NUMBER = 1.0.0
PROJECT_BRIEF = "GNSS/IMU-based vehicle localization for ROS2"
OUTPUT_DIRECTORY = docs/api
INPUT = eagleye_core eagleye_msgs eagleye_rt eagleye_util
RECURSIVE = YES
FILE_PATTERNS = *.cpp *.hpp *.h
EXCLUDE_PATTERNS = */build/* */install/*
GENERATE_HTML = YES
GENERATE_LATEX = NO
EXTRACT_ALL = YES
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = YES
HAVE_DOT = NO
QUIET = YES
WARNINGS = YES
WARN_IF_UNDOCUMENTED = NO
HTML_OUTPUT = html
USE_MDFILE_AS_MAINPAGE = README.md
Loading