File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "name" : " Trio Docs Dev" ,
3+ "image" : " mcr.microsoft.com/devcontainers/python:3.12" ,
4+
5+ "waitFor" : " postCreateCommand" ,
6+ "postCreateCommand" : " python3 -m venv venv && ./venv/bin/pip install -r requirements.txt && ./venv/bin/pip install -r dev-requirements.txt" ,
7+
8+ "customizations" : {
9+ "vscode" : {
10+ "settings" : {
11+ "python.defaultInterpreterPath" : " ./venv/bin/python" ,
12+ "python.terminal.activateEnvironment" : true
13+ },
14+ "extensions" : [" yzhang.markdown-all-in-one" ]
15+ }
16+ },
17+ "forwardPorts" : [8000 ],
18+ "portsAttributes" : {
19+ "8000" : {
20+ "label" : " MkDocs Preview" ,
21+ "onAutoForward" : " notify"
22+ }
23+ }
24+ }
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " 2.0.0" ,
3+ "tasks" : [
4+ {
5+ "label" : " Run MkDocs" ,
6+ "type" : " shell" ,
7+ "command" : " ./venv/bin/mkdocs serve" ,
8+ "isBackground" : true ,
9+ "runOptions" : { "runOn" : " folderOpen" },
10+ "presentation" : { "reveal" : " always" , "panel" : " dedicated" },
11+ "problemMatcher" : []
12+ }
13+ ]
14+ }
You can’t perform that action at this time.
0 commit comments