Skip to content

Long time since I used sphinx #4

Long time since I used sphinx

Long time since I used sphinx #4

Workflow file for this run

name: Generate Documentation
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x # Specify the Python version you're using
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install sphinx sphinx-rtd-theme
- name: Build documentation
run: |
mkdir -p docs
cd docs
sphinx-build -M html ../ ./ -W --keep-going
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html