Skip to content

Commit

Permalink
add vscode task to host docs
Browse files Browse the repository at this point in the history
  • Loading branch information
leifwalsh committed Mar 1, 2022
1 parent 03d4a22 commit 02b842f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,29 @@
"showReuseMessage": false,
"clear": true
}
},
{
"label": "Host docs",
"type": "process",
"command": "python",
"args": [
"-m",
"http.server"
],
"isBackground": true,
"options": {
"cwd": "${workspaceFolder}/docs/_build/html"
},
"dependsOn": "Build docs",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false,
"clear": true
},
"problemMatcher": []
}
]
}

0 comments on commit 02b842f

Please sign in to comment.