task for documentation build

This commit is contained in:
Orce MARINKOVSKI 2024-12-25 22:52:29 +00:00
parent fc76989190
commit 8e5ea392d0

View File

@ -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",