Skip to content

docs as submodule

docs as submodule #3

Workflow file for this run

name: SphinxDocumentation
on: [push, pull_request]
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: install ubuntu dependencies
run: |
sudo apt-get install pandoc freeglut3 libglew-dev
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme myst_parser nbsphinx robotic numpy
- name: Sphinx build
run: |
cd rai-docs && sphinx-build doc ../html
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: html