mirror of
https://github.com/MichaelCurrin/mkdocs-quickstart.git
synced 2026-03-28 17:42:47 +01:00
52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"type": "process",
|
|
"command": "${config:python.pythonPath}",
|
|
"args": ["-m", "mkdocs", "build"],
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "serve",
|
|
"type": "process",
|
|
"command": "${config:python.pythonPath}",
|
|
"args": ["-m", "mkdocs", "serve"],
|
|
"problemMatcher": [],
|
|
},
|
|
{
|
|
"label": "deploy",
|
|
"type": "process",
|
|
"command": "${config:python.pythonPath}",
|
|
"args": ["-m", "mkdocs", "gh-deploy"],
|
|
"problemMatcher": [],
|
|
},
|
|
// Reference globally-installed MkDocs.
|
|
{
|
|
"label": "build-global",
|
|
"type": "shell",
|
|
"command": "mkdocs build",
|
|
"problemMatcher": [],
|
|
},
|
|
{
|
|
"label": "serve-global",
|
|
"type": "shell",
|
|
"command": "mkdocs serve",
|
|
"problemMatcher": [],
|
|
},
|
|
{
|
|
"label": "deploy-global",
|
|
"type": "shell",
|
|
"command": "mkdocs gh-deploy",
|
|
"problemMatcher": [],
|
|
}
|
|
]
|
|
}
|