-
Notifications
You must be signed in to change notification settings - Fork 166
Add Doxygen config and GitHub Pages deployment #365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rsasaki0109
wants to merge
1
commit into
develop-ros2
Choose a base branch
from
feature/doxygen
base: develop-ros2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| name: docs | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - develop-ros2 | ||
| - main-ros2 | ||
|
|
||
| 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 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| .vscode/ | ||
| docs/api/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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-ros2andmain-ros2branches (lines 3-7), but the deployment step only executes fordevelop-ros2(line 26). This means the workflow will run onmain-ros2but won't deploy anything, which is inefficient.Consider either:
main-ros2from the trigger branches if deployment is only intended fordevelop-ros2main-ros2if you want to deploy from that branch too (perhaps to a different directory)