This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
Feature/improve py interpreter explanation (#504) #75
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
# .github/workflows/build-docs.yml | ||
name: Build Documentation | ||
on: | ||
push: | ||
branches: | ||
- main # or replace with your default branch | ||
# Installs Sphinx with pip | ||
python: | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs | ||
- method: pip | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out source | ||
uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "^3.10" | ||
- name: Install Poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
- name: Install dependencies | ||
run: | | ||
poetry run python -m pip install --upgrade pip | ||
poetry config virtualenvs.create false | ||
poetry install | ||
poetry run python -m pip install -e . | ||
- name: Build docs | ||
run: make -C docs/ html |