Skip to content

fix: mock scholarly module object in CI where scholarly is not installed #28

fix: mock scholarly module object in CI where scholarly is not installed

fix: mock scholarly module object in CI where scholarly is not installed #28

Workflow file for this run

name: Documentation
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx sphinx-rtd-theme
pip install -e .
- name: Build documentation
run: |
cd docs
sphinx-build -b html . _build/html
- name: Upload documentation artifacts
uses: actions/upload-artifact@v4
with:
name: documentation
path: docs/_build/html