mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
66 lines
1.6 KiB
JSON
66 lines
1.6 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Application",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"--disable-features=Translate",
|
|
"--incognito"
|
|
],
|
|
"preLaunchTask": "Start and watch for changes",
|
|
"url": "http://localhost:8000/",
|
|
"webRoot": "${workspaceFolder}",
|
|
"sourceMaps": true,
|
|
"sourceMapPathOverrides": {
|
|
"*": "${workspaceFolder}/*"
|
|
},
|
|
"smartStep": true
|
|
},
|
|
{
|
|
"name": "MkDocs",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"preLaunchTask": "Start and watch for changes",
|
|
"program": "venv/bin/mkdocs",
|
|
"args": ["build"],
|
|
"env": {
|
|
"PYTHONPATH": "."
|
|
}
|
|
},
|
|
{
|
|
"name": "MkDocs server",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"preLaunchTask": "Start and watch for changes",
|
|
"program": "venv/bin/mkdocs",
|
|
"args": ["serve", "--watch-theme"],
|
|
"env": {
|
|
"PYTHONPATH": "."
|
|
}
|
|
},
|
|
{
|
|
"name": "MkDocs server (dirty)",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"preLaunchTask": "Start and watch for changes",
|
|
"program": "venv/bin/mkdocs",
|
|
"args": ["serve", "--watch-theme", "--dirtyreload"],
|
|
"env": {
|
|
"PYTHONPATH": "."
|
|
}
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Application + MkDocs server",
|
|
"configurations": ["Application", "MkDocs server"]
|
|
},
|
|
{
|
|
"name": "Application + MkDocs server (dirty)",
|
|
"configurations": ["Application", "MkDocs server (dirty)"]
|
|
}
|
|
]
|
|
}
|