docs: Add initial docs

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2022-08-07 16:32:24 +02:00
parent 155946fb1e
commit 567577762f
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
15 changed files with 819 additions and 11 deletions

22
.taskfiles/docs.yaml Normal file
View file

@ -0,0 +1,22 @@
---
version: "3"
vars:
MKDOCS_CONFIG_FILE: .ci/mkdocs/mkdocs.yaml
tasks:
build:
desc: >
Build documentation using mkdocs
cmds:
- mkdocs build --config-file ./.ci/mkdocs/mkdocs.yaml
silent: true
serve:
desc: >
Start development server on http://localhost:{{ .PORT }} using mkdocs
vars:
PORT: 8000
cmds:
- mkdocs serve --config-file ./.ci/mkdocs/mkdocs.yaml --dev-addr localhost:{{ .PORT }} --livereload
silent: true