Skip to content

Commit 9aeafaf

Browse files
committed
chore: generate documentation from python code
1 parent b743666 commit 9aeafaf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-python@v4
1414
- name: Install dependencies
15-
run: pip install sphinx sphinx_rtd_theme
15+
run: pip install sphinx
1616
- name: Sphinx build
1717
run: |
18-
sphinx-build docs _build
18+
sphinx-apidoc -o docs scaleway
19+
sphinx-build -b html docs _build
1920
- name: Deploy
2021
uses: peaceiris/actions-gh-pages@v3
2122
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)