Visual Code Studio
Tareas
Se crea un fichero .vscode\tasks.json
{
"version": "2.0.0",
"tasks": [
{
"label": "Servir MkDocs",
"type": "shell",
"command": "bash -c 'cd mkdoks-wiki && (../.env/bin/mkdocs serve & MKDOCS_PID=$!; sleep 3; falkon --profile-dir=/tmp/falkon-mkdocs http://127.0.0.1:8000; kill $MKDOCS_PID)'",
"presentation": {
"reveal": "always",
"panel": "dedicated",
"showReuseMessage": false,
"clear": true,
"focus": false
},
"problemMatcher": []
},
{
"label": "Publicar",
"type": "shell",
"command": "git add . && git commit -m 'Actualiza documentación' && git push",
"problemMatcher": []
}
]
}