Add pagination to get employees method #134
Workflow file for this run
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: docs-verify | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
# on documentation change (changelog & contribution guidlines are a part of that) | |
- 'docs/**' | |
- 'CHANGELOG.md' | |
- 'CONTRIBUTING.md' | |
# also when docstrings in the source code change | |
- 'src/**' | |
jobs: | |
docs: | |
name: Generate Sphinx Docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
pip install -r requirements-dev.txt | |
- name: Generate Sphinx Documentation | |
run: | | |
cd docs | |
make html SPHINXOPTS="-W --keep-going" | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: sphinx-docs | |
path: docs/build/html/ |