1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00
esp8266/.github/workflows/documentation.yml
Max Prokhorov 7af5246c12
Docs - fix sphinx v8 builds (#9235)
abnormal version selection w/ nbsphinx causing us to fall down to 5.x.x
venv install specific versions, fix arguments provided to the sphinx-build
2025-03-11 00:04:47 +03:00

32 lines
642 B
YAML

# Ensure Sphinx can build the documentation properly.
name: Documentation
on:
pull_request:
permissions:
contents: read
jobs:
documentation:
name: Sphinx build
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Build documentation
run: |
pushd doc/
python3 -mvenv _venv
./_venv/bin/pip install -r requirements.txt
env SPHINXBUILD=$(pwd)/_venv/bin/sphinx-build ../tests/ci/build_docs.sh
popd