JSDoc attempt

This commit is contained in:
2023-03-27 19:23:59 +04:00
parent 1732cf637e
commit 11f048870d
2 changed files with 45 additions and 2 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ jobs:
uses: andstor/jsdoc-action@v1
with:
source_dir: ./src
output_dir: ./out
config_file: conf.json
output_dir: ./docs
config_file: jsdoc.json
template: minami
front_page: README.md
+43
View File
@@ -0,0 +1,43 @@
{
"source": {
"includePattern": ".+\\.ts(doc|x)?$",
"excludePattern": ".+\\.(test|spec).ts"
},
"plugins": [
"plugins/markdown",
"node_modules/jsdoc-babel"
],
"babel": {
"extensions": [
"ts",
"tsx"
],
"ignore": [
"**/*.(test|spec).ts"
],
"babelrc": false,
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": true
}
}
],
"@babel/preset-typescript"
],
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread"
]
},
"opts": {
"encoding": "utf8",
"destination": "docs/",
"recurse": true,
"verbose": true,
"pedantic": true,
"readme": "./README.md"
}
}