Skip to content

Add Nitrokey Python SDK documentation #354

Add Nitrokey Python SDK documentation

Add Nitrokey Python SDK documentation #354

Workflow file for this run

name: Pull Request Checker
on:
pull_request:
jobs:
syntax-check:
name: Check syntax
runs-on: ubuntu-latest
container: python:3.11
continue-on-error: true
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true
- name: Create virtual environment
run: |
python -m venv venv
venv/bin/pip3 install -r requirements.txt
venv/bin/pip3 install ./nitrokey-sdk-py
- name: Syntax check
run: |
. venv/bin/activate
rstcheck --recursive --ignore-directives "tabs" source/
build-error-check:
name: Check build error
runs-on: ubuntu-latest
container: python:3.11
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true
- name: Create virtual environment
run: |
python -m venv venv
venv/bin/pip3 install -r requirements.txt
venv/bin/pip3 install ./nitrokey-sdk-py
- name: Build documentation
run: |
. venv/bin/activate
sphinx-build -W -j 1 -a -D language='en' -b html source dist/en