generated from pollen-robotics/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 878 Bytes
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Generate Python Documentation
on: [pull_request]
jobs:
build-docs:
runs-on: ubuntu-22.04
steps:
- name: Install SSH_KEYS
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.SSH_PRIVATE_KEY_REACHY2_SDK_API }}
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Generate Documentation
run: pdoc reachy2_sdk --output-dir docs --logo "https://www.pollen-robotics.com/img/company/logo/pollen_logo_square_black.svg"
- name: Archive Documentation
uses: actions/upload-artifact@v4
with:
name: documentation
path: docs/