Skip to content

Commit

Permalink
justfile: doc: serve documentation instead of building it
Browse files Browse the repository at this point in the history
dince I have an issue with building documentation locally, to be solved.
Issue #39
  • Loading branch information
iacopy committed Nov 3, 2023
1 parent 278cda0 commit 857432e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,9 @@ setenv VIRTUALENV:
@benchmarks K_SELECTOR="test":
poetry run pytest --benchmark-enable --benchmark-only -k {{K_SELECTOR}} .
# build and open HTML documentation
# serve HTML documentation
@doc:
poetry run mkdocs build
# Open generated doc if possible but without fail otherwise
just _open {{DOC_DIRNAME}}/index.html
poetry run mkdocs serve
# WARNING! Remove untracked stuff (git clean -idx)! Useful to clean artifacts.
clean:
Expand Down

0 comments on commit 857432e

Please sign in to comment.