Setup coding environment for VSCode and jsdoc

This commit is contained in:
Elias Schriefer 2021-08-17 13:38:59 +02:00
parent c3a1624aab
commit 968e6437ad
3 changed files with 28 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
# jsdoc-generated documentation
doc

23
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,23 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "jsdoc",
"type": "process",
"command": "jsdoc",
"args": ["src/LightDMMock.js", "-c", "jsdoc.json", "-d", "doc"],
"detail": "Generate documentation",
"presentation": {
"echo": false,
"reveal": "silent",
"showReuseMessage": false,
"panel": "dedicated",
"close": true,
},
"group": {
"kind": "build",
"isDefault": true,
},
}
]
}

3
jsdoc.json Normal file
View File

@ -0,0 +1,3 @@
{
"plugins": ["plugins/markdown"]
}