Skip to content

Commit af171dd

Browse files
committed
passing mmdc env on github actions.
1 parent 4e22857 commit af171dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/gh_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Build the docs
2929
run: |
3030
make -C docs clean
31-
make -C docs html
31+
make -C docs html MERMAID_PATH="../node_modules/.bin/"
3232
- name: Deploy
3333
uses: peaceiris/actions-gh-pages@v3
3434
with:

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ci-tutorials/%.ipynb: ci-tutorials/%.py ${CHARTS}
2929

3030
# mermaid.js files
3131
_static/mmd/build/%.svg: _static/mmd/src/%.mmd
32-
mmdc -i $^ -o $@
32+
${MERMAID_PATH}mmdc -i $^ -o $@
3333

3434
html: ${NOTEBOOKS} ${CHARTS}
3535
python -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html

0 commit comments

Comments
 (0)