diff --git a/Taskfile.yml b/Taskfile.yml index 88638d88..c85fd0ff 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -1,5 +1,8 @@ version: '2' +includes: + docs: ./docs + vars: GIT_COMMIT: sh: git log -n 1 --format=%h @@ -83,13 +86,3 @@ tasks: cmds: - echo '{{.GO_PACKAGES}}' silent: true - - docs:install: - desc: Installs docsify to work the on the documentation site - cmds: - - npm install docsify-cli -g - - docs:serve: - desc: Serves the documentation site locally - cmds: - - docsify serve docs diff --git a/docs/Taskfile.yml b/docs/Taskfile.yml new file mode 100644 index 00000000..e3fe3ef8 --- /dev/null +++ b/docs/Taskfile.yml @@ -0,0 +1,12 @@ +version: '2' + +tasks: + install: + desc: Installs docsify to work the on the documentation site + cmds: + - npm install docsify-cli -g + + serve: + desc: Serves the documentation site locally + cmds: + - docsify serve docs