tutorials update #29
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: 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 python dependencies | |
run: | | |
pip install sphinx sphinx_rtd_theme myst_parser nbsphinx robotic numpy | |
- name: Sphinx build | |
run: | | |
cd rai-docs && git pull origin main --rebase | |
cd rai-tutorials && git pull origin main --rebase | |
cd .. && sphinx-build doc ../html | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: html |