Skip to content

docs: clean post-rebase whitespace #257

docs: clean post-rebase whitespace

docs: clean post-rebase whitespace #257

Workflow file for this run

name: Docs
on:
push:
branches:
- ros2
pull_request:
branches:
- ros2
workflow_dispatch:
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r docs/requirements.txt
- name: Sphinx build
run: |
python3 -m sphinx -W --keep-going -b html docs/source docs/_build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/ros2' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/
force_orphan: true