Skip to content

Update index.rst

Update index.rst #6

name: Build Documentation
on:
push:
branches:
- main # Replace with your default branch
pull_request:
branches:
- main # Replace with your default branch
jobs:
build-:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x' # Specify the Python version used by RTD
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt # Install Sphinx and other dependencies
- name: Build documentation
run: |
make html # Build the HTML documentation
# - name: Trigger Read the Docs build
# run: |
# curl -X POST -d "" https://readthe.org/api/v2/projects/ameba-arduino-pro2-doc/versions/latest/build/ \
# -H "Authorization: token ${{ secrets.RTD_API_TOKEN }}"