From 8e5ea392d0109a1033f01b0a5ee694440e6a04ee Mon Sep 17 00:00:00 2001 From: Orce MARINKOVSKI Date: Wed, 25 Dec 2024 22:52:29 +0000 Subject: [PATCH] task for documentation build --- .devcontainer/vscode/tasks.json | 38 ++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/.devcontainer/vscode/tasks.json b/.devcontainer/vscode/tasks.json index 636ba444a..e9213017c 100644 --- a/.devcontainer/vscode/tasks.json +++ b/.devcontainer/vscode/tasks.json @@ -104,6 +104,24 @@ "cwd": "${workspaceFolder}/src" } }, + { + "label": "Maintenance: Build Documentation", + "type": "shell", + "command": "pipenv run mkdocs build --config-file mkdocs.yml && pipenv run mkdocs serve", + "group": "none", + "presentation": { + "echo": true, + "reveal": "always", + "focus": true, + "panel": "shared", + "showReuseMessage": false, + "clear": true, + "revealProblems": "onProblem" + }, + "options": { + "cwd": "${workspaceFolder}" + } + }, { "label": "Maintenance: manage.py createsuperuser", "type": "shell", @@ -122,6 +140,24 @@ "cwd": "${workspaceFolder}/src" } }, + { + "label": "Maintenance: Install Angular CLI", + "type": "shell", + "command": "npm ci && ./node_modules/.bin/ng build --configuration production", + "group": "none", + "presentation": { + "echo": true, + "reveal": "always", + "focus": true, + "panel": "shared", + "showReuseMessage": false, + "clear": true, + "revealProblems": "onProblem" + }, + "options": { + "cwd": "${workspaceFolder}/src-ui" + } + }, { "label": "Maintenance: Compile frontend for production", "type": "shell", @@ -159,7 +195,7 @@ } }, { - "label": "Maintenance: Install Angular Frontend for Debug", + "label": "Maintenance: Install Frontend Dependencies", "type": "npm", "script": "install", "path": "src-ui",