Skip to content

feat: Add re-usable components #825

feat: Add re-usable components

feat: Add re-usable components #825

Workflow file for this run

name: Docs
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
name: build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Cache dependencies
uses: actions/cache@v4.0.2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.in') }}
restore-keys: |
${{ runner.os }}-pip-
- run: python -m pip install -r docs/requirements.in
- name: Build docs
run: |
cd docs
make html
spelling:
runs-on: ubuntu-latest
name: spelling
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Cache dependencies
uses: actions/cache@v4.0.2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.in') }}
restore-keys: |
${{ runner.os }}-pip-
- run: python -m pip install -r docs/requirements.in
- name: Check spelling
run: |
cd docs
make spelling