Ajout tâches pour vscodium pour servir mkdocs
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
build/*
|
build/*
|
||||||
*-manual.pdf
|
*-manual.pdf
|
||||||
.venv/
|
.venv/
|
||||||
|
**/*.pyc
|
34
.vscode/tasks.json
vendored
Normal file
34
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
// Fichier : .vscode/tasks.json
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Serve user docs",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "../.venv/bin/mkdocs",
|
||||||
|
"args": [
|
||||||
|
"serve",
|
||||||
|
"-a",
|
||||||
|
"localhost:3000"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/user"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Serve admin docs",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "../.venv/bin/mkdocs",
|
||||||
|
"args": [
|
||||||
|
"serve",
|
||||||
|
"-a",
|
||||||
|
"localhost:3001"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/admin"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Reference in New Issue
Block a user