We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 587e230 commit f8643ecCopy full SHA for f8643ec
docs/Makefile
@@ -170,13 +170,7 @@ serve:
170
@echo 'docs server running at http://localhost:${HTTP_PORT}/'
171
@echo
172
@echo '=============================================================='
173
- @if test ${PYVERSION} -eq 2; then $(MAKE) serve_py2; else make serve_py3; fi
174
-
175
-serve_py2:
176
- pushd _build/html; python2 -m SimpleHTTPServer ${HTTP_PORT}; popd
177
178
-serve_py3:
179
- python -m http.server ${HTTP_PORT} --directory _build/html
+ poetry run python -m http.server ${HTTP_PORT} --directory _build/html
180
181
dev:
182
$(MAKE) -j watch serve
0 commit comments