-
Notifications
You must be signed in to change notification settings - Fork 20
32 lines (29 loc) · 924 Bytes
/
sphinx.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 fetch --all && git reset --hard origin/main
cd rai-tutorials && git fetch --all && git reset --hard origin/main
cd .. && sphinx-build doc ../html
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: html