-
Notifications
You must be signed in to change notification settings - Fork 107
41 lines (34 loc) · 1.02 KB
/
build-docs.yml
File metadata and controls
41 lines (34 loc) · 1.02 KB
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
36
37
38
39
40
41
name: Build docs.feldera.com
on:
workflow_call:
jobs:
build-docs:
runs-on: ubuntu-latest-amd64
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
with:
node-version: 25
- name: Install required-version defined in pyproject.toml
uses: astral-sh/setup-uv@v5
with:
pyproject-file: "python/pyproject.toml"
- name: Build Python SDK docs
working-directory: ./python/docs
run: |
uv run sphinx-apidoc -o . ../feldera
uv run sphinx-build -M html . _build
- name: Copy the Python docs to static
run: |
cp -r python/docs/_build/html docs.feldera.com/static/python
- name: Build Docusaurus
working-directory: ./docs.feldera.com
run: |
yarn install --frozen-lockfile
yarn build
- name: Upload docs
uses: actions/upload-artifact@v4
with:
name: feldera-docs
path: ./docs.feldera.com/build
retention-days: 7