From ef7510c53d1b082b197232231419cdf6f061628c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 2 Oct 2025 15:11:25 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20t=C3=A2ches=20pour=20vscodium=20pour=20?= =?UTF-8?q?servir=20mkdocs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + .vscode/tasks.json | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .vscode/tasks.json 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": [] + } + ] +}