diff --git a/.gitignore b/.gitignore index 71f2b76..291144e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ build/* *-manual.pdf .venv/ +**/*.pyc \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..f42f536 --- /dev/null +++ b/.vscode/tasks.json @@ -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": [] + } + ] +}