Added resolution parameter and documentation for fitPlane. #75
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
name: Documentation | |
on: | |
push: | |
branches: [ jazzy ] | |
pull_request: | |
branches: [ jazzy ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ros:jazzy-ros-base | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup | |
run: | | |
sudo apt-get update && sudo apt-get install -y git doxygen graphviz python3-sphinx python3-breathe python3-sphinx-rtd-theme python3-git | |
- uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: jazzy | |
- uses: ros-tooling/[email protected] | |
id: action_ros_ci_step | |
with: | |
package-name: hector_math hector_math_py | |
target-ros2-distro: jazzy | |
skip-tests: true | |
- name: Build documentation | |
run: | | |
. ${{ steps.action_ros_ci_step.outputs.ros-workspace-directory-name }}/install/setup.sh && cd docs && make html | |
- uses: actions/upload-pages-artifact@v3 | |
with: | |
name: github-pages | |
path: docs/_build/html | |
deploy: | |
if: github.event_name != 'pull_request' | |
needs: build | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |