add lebensmitteltest update #267
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: Generate Docs | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: "generate sphinx-documentation" | |
run: | | |
pip install sphinx m2r2 | |
cd docs-sphinx | |
sphinx-apidoc -o source/ ../src/deutschland | |
make html | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: "documentation" | |
path: ${{ github.workspace }}/sphinx-docs/_build | |
# TODO: maybe commit source-files |