-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
107 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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,36 @@ | ||
name: gendoc | ||
|
||
on: | ||
push: | ||
branches: [ gendoc ] | ||
tags: | ||
- '*' | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
gendoc: | ||
name: Generate documentation | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Configure Git Credentials | ||
run: | | ||
git config user.name github-actions[bot] | ||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | ||
- name : Install dependencies | ||
run: sudo apt-get install -y git cmake build-essential doxygen graphviz python3-dev mkdocs mkdocs-material | ||
|
||
- name: Generate documentation | ||
run: cd docs && make all | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: site | ||
path: ./site/* | ||
|
||
- name: Deploy documentation | ||
run: cd docs && make deploy |
This file contains 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
This file contains 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
This file contains 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,22 @@ | ||
.PHONY: help | ||
help: | ||
@echo "make cpp|all" | ||
|
||
.PHONY: cpp | ||
cpp: | ||
@echo "Building C++ documentation..." | ||
doxygen Doxyfile doc_cpp | ||
|
||
.PHONY: mkdocs | ||
mkdocs: | ||
@echo "Building MkDocs documentation..." | ||
cd .. && mkdocs build | ||
|
||
.PHONY: all | ||
all: cpp mkdocs | ||
@echo "All documentation built." | ||
|
||
.PHONY: deploy | ||
deploy: | ||
@echo "Deploying documentation..." | ||
cd .. && mkdocs gh-deploy --force |
This file contains 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,5 @@ | ||
# gtsam_points | ||
|
||
## Documentation | ||
|
||
- [C++](doc_cpp/index.html) |
This file contains 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,41 @@ | ||
site_name: "gtsam_points" | ||
site_author: k.koide | ||
repo_url: https://github.com/koide3/gtsam_points | ||
site_url: https://github.com/koide3/gtsam_points | ||
site_description: "gtsam_points: A collection of GTSAM factors and optimizers for point-cloud-based SLAM" | ||
|
||
theme: | ||
name: material | ||
palette: | ||
primary: indigo | ||
front: | ||
text: Roboto | ||
|
||
use_directory_urls: false | ||
|
||
markdown_extensions: | ||
- meta | ||
- attr_list | ||
- admonition | ||
- pymdownx.highlight: | ||
anchor_linenums: true | ||
- pymdownx.inlinehilite | ||
- pymdownx.snippets | ||
- pymdownx.superfences | ||
|
||
copyright: Copyright © 2024 Kenji Koide | ||
extra: | ||
social: | ||
- icon: material/home | ||
link: https://staff.aist.go.jp/k.koide/ | ||
- icon: fontawesome/brands/github | ||
link: https://github.com/koide3/gtsam_points | ||
- icon: fontawesome/brands/twitter | ||
link: https://twitter.com/k_koide3 | ||
|
||
extra_css: | ||
- "css/custom.css" | ||
- "https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css" | ||
|
||
nav: | ||
- 'index.md' |