Skip to content

Commit

Permalink
Feature/mkdocs port (#14)
Browse files Browse the repository at this point in the history
* use dedicated env vars

* add extra args support for kind create

* make the port configurable
  • Loading branch information
nolte authored Jan 7, 2025
1 parent 72fc546 commit 766f6fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/taskfile-include-mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ version: '3'
vars:
PYTHON_VENVS_BASEDIR: ~/.venvs/
PYTHON_VENV_DIR_DOCS: "{{.PYTHON_VENVS_BASEDIR}}/docs"
MKDOCS_PORT: 8001

tasks:
start:
Expand All @@ -14,5 +15,5 @@ tasks:
- |
bash -c "
source {{.PYTHON_VENV_DIR_DOCS}}/bin/activate && \
mkdocs serve -a localhost:8001
mkdocs serve -a localhost:{{.MKDOCS_PORT}}
"

0 comments on commit 766f6fe

Please sign in to comment.