Skip to content

Commit 53e6775

Browse files
committed
Update GHA to generate doc json before HTML gen
Signed-off-by: Travis F. Collins <[email protected]>
1 parent e015561 commit 53e6775

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/doc.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,21 @@ jobs:
1313
with:
1414
python-version: 3.7
1515

16+
- name: Set up MATLAB
17+
uses: matlab-actions/setup-matlab@v1
18+
with:
19+
release: R2023b
20+
1621
- name: Install dependencies
1722
run: |
1823
sudo apt install -y python3-numpy
1924
pip install -r CI/doc/requirements_doc.txt
25+
26+
- name: Generate MATLAB side of doc
27+
uses: matlab-actions/run-command@v1
28+
with:
29+
command: addpath(genpath('.')); gen_sysobj_doc; exit();
30+
2031
- name: Check doc build
2132
run: |
2233
make -C CI/doc gen_autodocs html

0 commit comments

Comments
 (0)