Skip to content

Commit 1282c54

Browse files
committed
try to reveal components
Signed-off-by: zhen0427 <Zhen.Wang@alliander.com>
1 parent af8526a commit 1282c54

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/build-docs.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,23 @@ jobs:
2727
with:
2828
python-version: "3.11"
2929

30-
- name: Build docs
30+
- name: Install dependencies
31+
run: |
32+
python -m pip install --upgrade pip
33+
pip install -r requirements.txt || true
34+
pip install sphinx myst-parser
35+
36+
- name: Build combined components.md
3137
run: python scripts/build-docs.py
3238

39+
- name: List generated files
40+
run: ls -R docs/user_manual
41+
42+
- name: Build Sphinx HTML docs
43+
run: sphinx-build docs docs/_build
44+
3345
- name: Upload generated docs
3446
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
3547
with:
36-
name: user-manual-docs
37-
path: docs/user_manual/components.md
48+
name: documentation-html
49+
path: docs/_build

0 commit comments

Comments
 (0)