Skip to content

Commit af1c75f

Browse files
committed
Add a task for serving MkDocs website locally
This is very useful for manually checking the website, and so is appropriate to include with the "Check Website" template.
1 parent 4a4af4c commit af1c75f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

workflow-templates/assets/check-mkdocs-task/Taskfile.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,11 @@ tasks:
99
- task: poetry:install-deps
1010
cmds:
1111
- poetry run mkdocs build --strict
12+
13+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-mkdocs-task/Taskfile.yml
14+
website:serve:
15+
desc: Run website locally
16+
deps:
17+
- task: poetry:install-deps
18+
cmds:
19+
- poetry run mkdocs serve

0 commit comments

Comments
 (0)