Skip to content

Commit 0bf34a3

Browse files
committed
docs serve cmd
1 parent 288dde5 commit 0bf34a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ check = [
154154
"cd docs && poetry run sphinx-build -a -T -W --keep-going -b doctest source build",
155155
"cd docs && docker build . --file Dockerfile",
156156
]
157+
serve = [
158+
"cd docs && poetry install",
159+
"cd docs && poetry run python main.py --watch=../src/ --ignore=**/_auto/* --ignore=**/custom.js --ignore=**/node_modules/* --ignore=**/package-lock.json -a -E -b html source build",
160+
]
157161

158162
################################
159163
# >>> Hatch Python Scripts <<< #

0 commit comments

Comments
 (0)