Skip to content

correctly incrementing version and removing some stale code #183

correctly incrementing version and removing some stale code

correctly incrementing version and removing some stale code #183

Workflow file for this run

name: Docs
on: [push, pull_request]
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Python 3.x
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install pandoc
run: |
sudo apt-get update
sudo apt-get install pandoc
- name: Install doc requirements
run: |
python -m pip install --upgrade pip
pip install -r doc_requirements.txt
- name: Install MPI
uses: mpi4py/setup-mpi@v1
- name : Install Bingo requirements (for tutorials)
run: |
pip install -r requirements.txt
- name: Set safe forking var
run: |
echo "RDMAV_FORK_SAFE=1" >> $GITHUB_ENV
- name: Build docs
run: |
sphinx-apidoc -f -o docs/source/_apidocs bingo
sphinx-build -b html docs/source/ docs/build/html
- name: Deploy to gh-pages branch
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html