Skip to content

Commit 6425c7f

Browse files
committed
hopefully fixed errors with mdbook
1 parent 8f9b116 commit 6425c7f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/deploy-book.yaml

+5-7
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,11 @@ jobs:
4747
pipx ensurepath &&
4848
pipx install pydoc-markdown
4949

50-
- name: Build python docs
51-
run:
52-
sudo apt update
53-
sudo apt install pipx
54-
pipx ensurepath
55-
pipx install pydoc-markdown
56-
pydoc-markdown -I python/ -p fastsim --render-toc > docs/src/python_docs.md
50+
- name: Generate python docs
51+
working-directory: ${{runner.workspace}}/fastsim/
52+
run:
53+
pydoc-markdown -I python/ --render-toc > docs/src/python-doc.md
54+
5755
- name: Setup Pages
5856
id: pages
5957
uses: actions/configure-pages@v3

0 commit comments

Comments
 (0)