Skip to content

Commit c9644d0

Browse files
committed
fix test docs
1 parent 3a8685e commit c9644d0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/build-docs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959

6060
- name: deploy website
6161
uses: JamesIves/[email protected]
62+
if: ${{ github.ref != 'refs/heads/dev' }}
6263
with:
6364
branch: gh-pages
6465
folder: docs/build/html/

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ sync:
2929
.PHONY: docs
3030
docs:
3131
$(poetry) sphinx-apidoc -e -E -f --remove-old -o docs/source/apiref autointent
32+
$(poetry) python -m sphinx build -b html docs/source docs/build/html
33+
34+
.PHONY: test-docs
35+
test-docs: docs
3236
$(poetry) python -m sphinx build -b doctest docs/source docs/build/html
3337

3438
.PHONY: serve-docs

0 commit comments

Comments
 (0)