Build docs #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build docs | |
on: | |
workflow_dispatch: | |
jobs: | |
build_docs: | |
name: Build docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install packages | |
run: | | |
pip install pip --upgrade | |
pip install --no-cache-dir -e .[dev] | |
- name: Build docs | |
run: | | |
sudo apt install pandoc -y | |
sphinx-build docs/source _build/html -W |